-
Notifications
You must be signed in to change notification settings - Fork 46.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[compiler] Outline JSX with non-jsx children #31400
Conversation
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. [ghstack-poisoned]
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. ghstack-source-id: 028ae9ffc65c8b956e1bb0548feb571667def8b2 Pull Request resolved: #31400
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!!!
just one thing to address before landing
let id = 1; | ||
function generateName(seen: Set<string>, oldName: string): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will cause non-deterministic output, it has to be scoped to the outer transform
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. [ghstack-poisoned]
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. ghstack-source-id: 24d32f60148cc189effc23523631c652035a8976 Pull Request resolved: #31400
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. [ghstack-poisoned]
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. ghstack-source-id: f8d88aa867847db17ab2b07c574fa5216069a666 Pull Request resolved: #31400
Previously, we bailed out on outlining jsx that had children that were not part of the outlined jsx. Now, we add support for children by treating as attributes. ghstack-source-id: f8d88aa867847db17ab2b07c574fa5216069a666 Pull Request resolved: facebook#31400
Stack from ghstack (oldest at bottom):
Previously, we bailed out on outlining jsx that had children that were
not part of the outlined jsx.
Now, we add support for children by treating as attributes.