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
It would allow the feature to scale with more managers like SessionStorageManager, IndexedDBManager, all of them implementing a common IPersistManager interface.
Not sure about this claim, but I suppose this could be easier to tree shake rather than having a persist method with a switch-case statement for local, session, etc.
I don't have any problem with .persist, though. Just picking brains on this one.
It'll be great to add a built-in method to persist the form value to the storage. For example:
Where the
key
is the storage key, and the storage islocal
orsession
.The text was updated successfully, but these errors were encountered: