3 ms·
Did anybody use Observable Hooks yet? https://observable-hooks.js.org/ https://observable-hooks.js.org/ This seems to be quite a good way to compute and apply
by andix 5y ago
Did anybody use Observable Hooks yet? https://observable-hooks.js.org/ https://observable-hooks.js.org/
This seems to be quite a good way to compute and apply complex state to a component. In my opinion better than useReducer().
But to be honest, for most components useState() and useEffect() are totally enough. And if you do something wrong like in the counter example, you see it right away.