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
First of all, let me express my gratitude for this library.
I propose a feature to deactivate persisting in the local storage by not calling the respective setData(...). The reason is that I don't need the data persistent as I handle all the rest on the backend. You may have a better idea to achieve this in compliance with your vision of this library.
Would it be okay if I prepare the code and initiate a pull request, or you don't want this enhancement?
Thanks in advance for your consideration.
The text was updated successfully, but these errors were encountered:
tasoskakour
changed the title
Option for not persisting in session storage?
Option for not persisting in local storage?
Sep 24, 2023
That wouldn't be a bad idea actually. Although not something urgent, it would be maybe a "nice-to-have" 🙂
I believe though, that if we go with this approach it would be more beneficial to write our own hook for persisting the state and not relying on the use-local-storage-state hook that we currently rely on.
Uh oh!
There was an error while loading. Please reload this page.
First of all, let me express my gratitude for this library.
I propose a feature to deactivate persisting in the local storage by not calling the respective setData(...). The reason is that I don't need the data persistent as I handle all the rest on the backend. You may have a better idea to achieve this in compliance with your vision of this library.
Would it be okay if I prepare the code and initiate a pull request, or you don't want this enhancement?
Thanks in advance for your consideration.
The text was updated successfully, but these errors were encountered: