React compiler generates different results based on the return
statement
#51
Answered
by
poteto
MrFlashAccount
asked this question in
General Questions
-
I was surprised by the React compiler’s behavior of terminating functions from memoization based on whether they return a value or not. Is this an intentional feature? |
Beta Was this translation helpful? Give feedback.
Answered by
poteto
Jan 7, 2025
Replies: 1 comment 1 reply
-
There's a couple of things here:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MrFlashAccount
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a couple of things here: