top | item 45703947

(no title)

wooque | 4 months ago

>which had bidirectional data flow, and when one updated the store, it would trigger a change to the UI, which would change the state store, which would change the UI, etc.

You can hit the same problem with React. Circular state updates. State change->trigger useEffect->change state. I hit those when I had just started React.

discuss

order

lmm|4 months ago

You can, but it's harder, React will at least nudge you away from doing that.