Best way to use `useStorage` with `SecureStorage`?
Looking at setting up useStorage hooks for SecureStorage items. Are there preferred ways of handling the password setting for the new SecureStorage? Any examples?
3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I've looked at the examples some but don't see the secureStorage item
ship
being called with the hook. Played around with it some locally but couldn't get it to workThe idea is that you instantiate the secure storage, and set the password asyncronously before passing it down to any hook instance that want to use securestorage