Twitter | Search | |
Sagiv Ben Giat
As i see it, Comp is a "stateful" function once you useRef, ref is shard between calls, each call has its own context. If you change it in one context, you affect the other. Maybe the fact that we have 2 branches hidden from us, creating or using the previous ref, throw us off
Reply Retweet Like More
Replying to