-
Notifications
You must be signed in to change notification settings - Fork 48.8k
[compiler] Provide support for custom fbt-like macro functions #29893
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] Provide support for custom fbt-like macro functions #29893
Conversation
[ghstack-poisoned]
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
const $ = _c(2); | ||
const theme = useTheme(); | ||
|
||
const t0 = cx({ |
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.
i verified that without the change (and without the @customMacros(cx)
pragma) this fixture assigns cx to a local
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.
_soclean!
…ions" [ghstack-poisoned]
Comparing: 2ba462b...8d49249 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Stack from ghstack (oldest at bottom):