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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear is "a function to clear the state history and reset the state." The point is to lose the initial state and reset past and future back to empty arrays. Keeping state around wouldn't do that.
clear
is "a function to clear the state history and reset the state." The point is to lose the initial state and resetpast
andfuture
back to empty arrays. Keepingstate
around wouldn't do that.