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
Description: I want to have a react hook I can use to persist data, of whatever type, on the frontend side. This would give me the possibility to save user data, but also transaction ID, and procedure ID
meaning that each time the useStorage hook is called with a key, we return an array of two values, the first being the value, and the second being the setter. And if we call the setter, then we also write into the storage
The text was updated successfully, but these errors were encountered:
Description: I want to have a react hook I can use to persist data, of whatever type, on the frontend side. This would give me the possibility to save user data, but also transaction ID, and procedure ID
Implementation should be as follows:
meaning that each time the
useStorage
hook is called with a key, we return an array of two values, the first being the value, and the second being the setter. And if we call the setter, then we also write into the storageThe text was updated successfully, but these errors were encountered: