You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have bind separate router component/file into App class.
While change state variable to App class, it render whole application.
When I update state variable, it render unnecessarily.
Actual behaviour
If we change any state variable in App class even it should not render app and should not re render children components
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
Bind router component to App.js
Add state variable to App.js as test. And on click of on Button change param of that state.
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
I have bind separate router component/file into App class.
While change state variable to App class, it render whole application.
When I update state variable, it render unnecessarily.
Actual behaviour
If we change any state variable in App class even it should not render app and should not re render children components
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
The text was updated successfully, but these errors were encountered: