3 ms·
I'll have to read up on that. We just leverage enums and Typescript's slightly more strict type checking to state that the store can be in only certain states,
by frio 7y ago
I'll have to read up on that. We just leverage enums and Typescript's slightly more strict type checking to state that the store can be in only certain states, and use the excellent typesafe-actions library. I'll write up a blog post. There are probably flaws in our methodology but when we took some new grads on recently, it helped a lot :).