Mutable or immutable global state pattern in React with hooks?
I want to create a global state pattern for my next app. But I don't know if I should go for the mutable approach or the immutable one. Let me show examples illustrating my two options with pseudo-react. (more…)
Read more »