Comments (2)
Hi,
SvelteKit is a bit of a pain for library maintainers... The issue you describe does not occur in vanilla Svelte nor in Sapper. But anyway, the error message suggests that the deferred 'onDestroy' call doesn't work as expected. It makes sense to make motion values less dependent on component lifecycles. I implemented something like the startStopNotify feature of Svelte stores.
Long story short: please try with version ^0.11.2
from svelte-motion.
@micha-lmxt - whatever it was you fixed, worked! Thanks again!
from svelte-motion.
Related Issues (20)
- AnimateSharedLayout TS type error with svelte kit HOT 1
- Noticing a 1 pixel shift during animation... HOT 1
- How to fill AnimatePresence list prop if there is only 1 child
- Animate on unmount
- AnimatePresence onUpdate/exit is broken after HMR happens
- Type checking disable for whileDrag HOT 1
- ERROR: Cannot read properties of undefined (reading 'update') HOT 9
- Getting odd warning? svelte is the type in package.json? HOT 2
- Add a Changelog
- New breaking error with latest kit and vite 4.0.0... HOT 8
- Why use tslib? HOT 2
- Animations don't load/run when built statically HOT 2
- useInView hook would be useful
- How can I use useDragControls HOT 2
- Animate Presences
- Is this library still actively maintained? HOT 16
- Style Tags on MotionDiv elements not working
- Svelte svg M not working
- style motion props not working as expected HOT 1
- Typescript update PR HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svelte-motion.