Replies: 2 comments 1 reply
-
Cannot reproduce a difference in behavior. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok, I tried to reproduce in the REPL. I cannot. Still, in my project happens consistently. While the project is quite simple, because it is for micro-frontends, testing it requires 3 different projects, so I guess I'll let go for now. If anyone is curious, the project I speak of is this one. |
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
-
In a rather simple component, I have restProps (the rest of the properties). I need to run an effect whenever any property in this rest changes.
In order to have the above effect work (trigger on property changes), I have to have the
newProps
variable. If I exchange those two lines with the commented line, then the effect doesn't trigger. I realize that effects don't trigger when triggers lie inside callbacks or after the firstawait
keyword, but as far as I can tell, this doesn't fall into any of those 2 cases, correct?Beta Was this translation helpful? Give feedback.
All reactions