React: Each state change calls render function
Below is a codepen which demonstrates the behaviour in react where each change to state by calling setState function calls the render function.
https://codepen.io/arthanari/pen/wQEjzK/
https://codepen.io/arthanari/pen/wQEjzK/
Comments
Post a Comment