27
My $effect sets a value from other state and now runs twice and reads a stale value — what am I doing wrong?
Coming from an older reactive framework where a watcher that assigns to something else was completely normal. I have a piece of state that should always be derived from two other pieces. I wrote an effect that reads…