Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
What Redux Does, and When to Use It
(
daveceddia.com
)
11 points
by
dceddia
on Oct 25, 2017
|
hide
|
past
|
favorite
|
2 comments
pteredactyl
on Oct 25, 2017
[–]
Good breakdown. But why not just use a parent object to hold this data?
dceddia
on Oct 26, 2017
|
parent
[–]
By "parent object" do you mean just a plain global JS object? You can do that, but that introduces global mutable state, which leads to nightmarish debugging.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: