3 ms·
How is React even supposed to know if this is the last render for a component? If the user changes the state, isn't React obviously going to re-render the compo
by nexuist 5y ago
How is React even supposed to know if this is the last render for a component? If the user changes the state, isn't React obviously going to re-render the component?