Tamago

Results 6 comments of Tamago

If the value of reactive storage is set to null and then the default value is returned, it will never be null again. It seems that adding a `reset` method...

You're right. At least the type declaration for `get` should be the same as the value for `set` in `RemovableRef`.

But if local storage is cleared by setting ref to `null`, and get default value as return, then it would look something like this: ```ts const ref = useStorage('KEY', {})...

Waiting for a new version with this feature 👀

Thank you for your response, I have looked at `vivant`. it's really a awesome lib, and it seems provided more features than `hero-motion`. Regarding the part about `hero-motion`, there may...