Anybody else have useEffect dependency fatigue? I often run into situations where I want an effect to run only when a value changes, but I also need access to other values (foo, bar) in this hook that I don't want to trigger the effect.

What are some good patterns around this?
Here is an example to illustrate
You can follow @clauderic_d.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: