Are referential-type values as default props in object destructuring optimized by React Compiler? #73
Unanswered
bk-tho
asked this question in
General Questions
Replies: 1 comment
-
|
Just tested it in Compiler Playground. The compiler leaves it as is. Seems like a potential opportunity for the compiler? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
@eslint-react/eslint-plugin includes the rule no-unstable-default-props:
Is this still useful with React Compiler or will it optimize for these cases?
Beta Was this translation helpful? Give feedback.
All reactions