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
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
alank
alankOP•2y ago
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 work
lab
lab•2y ago
The 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
Want results from more Discord servers?
Add your server