Hacker News new | ask | show | jobs
by ablesearcher 3868 days ago
Your solution redefines the word "local" to mean "global." Yes, you can store a component's intrinsically local state as field in your global model and then use a specialized update function that is reached by a switch from your global update function. The question we are addressing is: Is that a good idea?
1 comments

You realize that each component can not see the other components local state in both solutions i suggested?