|
|
|
|
|
by s_y_n_t_a_x
2324 days ago
|
|
Or you know, use Redux because the boilerplate is gone...
https://redux-toolkit.js.org/ You don't have to create actions or constants anymore, you just create your reducer functions and selectors, then use hooks to select and dispatch in your components. Never got why people took up a completely different paradigm just because they couldn't figure out how to reduce their boilerplate... |
|
https://github.com/davidkpiano/xstate