3 ms·
I love it because you not don't special state management like redux unidirectional flow or mobx observables, or even setState/useState. Just use POJOs and mutat
by dsego 6y ago
I love it because you not don't special state management like redux unidirectional flow or mobx observables, or even setState/useState. Just use POJOs and mutate the state however you like, because it automatically redraws on events & xhr so all state changes are picked up on the next render. This typically covers all the cases you need, of course there is a way to prevent or manually trigger a redraw for edge cases.