Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
aatd86
· 1y ago · 0 comments
Shouldn't a state change should be purely event driven, and not dispatch its own events as side effect? That avoids reetrancy and is an easy rule to adopt...? Or am I misunderstanding the issue?
Comments
[–]
picardo
1y ago
You're right about that, but that wasn't common practice at the time. We learned about side-effects from Elm and Flux.