reset()
The reset()
method returns the store to its initial state. This is useful for clearing all state changes, such as during cleanup or when needing to start fresh.
The reset()
method returns the store to its initial state. This is useful for clearing all state changes, such as during cleanup or when needing to start fresh.