Hacker News new | ask | show | jobs
by wooque 234 days 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.

1 comments

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