Components returned from factory methods #23
Unanswered
imjordanxd
asked this question in
General Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I made an issue here.
The TLDR is that React Compiler incorrectly transforms / fails to identify components returned from factory functions:
This is perfectly valid JS. It's unclear what assumptions the React Compiler makes about what is and isn't a React component. Can these assumptions be published in some guidelines?
Beta Was this translation helpful? Give feedback.
All reactions