Y
Hacker News
new
|
ask
|
show
|
jobs
by
aatd86
235 days ago
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?
1 comments
picardo
235 days ago
You're right about that, but that wasn't common practice at the time. We learned about side-effects from Elm and Flux.
link