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
Also, it's not visible in stackblitz but on my vscode, this very code is screaming like never regarding typings (which I only get if I import explicitly @vueuse/motion in the .vue component, otherwise the function is not typed).
After some digging in the source code, I understand the v2 expects more something like this (no typescript error this way):
The old example was not working, due to a change in the useSpring API and was therefore replaced.
This new example shows a complete Vue component and therefore lowers the barrier to using useSpring.
Hello,
It seems like
useSpring
is not working. Or at least, not working like the documentation is describing it. Is it up to date?Check this minimal setup: https://stackblitz.com/edit/github-2k6bjv?file=nuxt.config.ts,app.vue
Also, it's not visible in stackblitz but on my vscode, this very code is screaming like never regarding typings (which I only get if I import explicitly
@vueuse/motion
in the .vue component, otherwise the function is not typed).After some digging in the source code, I understand the v2 expects more something like this (no typescript error this way):
But even this doesn't work and the reactivity seems to get lost as this template doesn't get updated:
I need help please! 🙏
The text was updated successfully, but these errors were encountered: