-
Beta Was this translation helpful? Give feedback.
Answered by
nmn
Apr 11, 2024
Replies: 1 comment
-
This is a constraint of how the compiler works. However, you should be able to write a Babel transform that hoists the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tounsoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a constraint of how the compiler works. However, you should be able to write a Babel transform that hoists the
stylex.create
calls out at compile time. This should solve your problem.