4 ms·
Your state is tightly coupled with the actions that mutate that state, not the user interface itself. React wants you to define a higher order function for a bu
by ilovecaching 8y ago
Your state is tightly coupled with the actions that mutate that state, not the user interface itself. React wants you to define a higher order function for a button. The button will call that function, but the implementation of that function is only loosely coupled.