react/signals-react and react-compiler? #787
Unanswered
paul-sachs
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
How do I configure ESLint with React? |
Beta Was this translation helpful? Give feedback.
1 reply
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'm trying to see if there's issues that could be introduced. I think i've identified a bug but wanted to know if anyone is dealing with something similar:
Compiler playground
Basically the gist of it is, if you don't use "use no memo", the compiler will memoize the internal value of the signal and never trigger a change on mutation of the value.
My current workaround is basically just to use "use no memo" whenever calling
useSignals. Which works but kinda sucks at the same time.Beta Was this translation helpful? Give feedback.
All reactions