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
Just got bitten by this; setState replaces the existing state object, while React's method merges the new state with existing state. If these methods are called the same as their React's counterparts, it makes sense to have the same behaviour :)
The text was updated successfully, but these errors were encountered:
Just got bitten by this; setState replaces the existing state object, while React's method merges the new state with existing state. If these methods are called the same as their React's counterparts, it makes sense to have the same behaviour :)
The text was updated successfully, but these errors were encountered: