3 ms·
It used to try to be like that. Only calling setState re-renders things. And you control state and when to render. Until the hooks introduced. Now it also wan
by mmis1000 5y ago
It used to try to be like that. Only calling setState re-renders things. And you control state and when to render.
Until the hooks introduced.
Now it also want to handles all the state and timing for update. And you are no longer able to call from outside or decides when to render (in a simple manner, as there are still workarounds).