auto-animate
auto-animate copied to clipboard
feat: destroy, unmount
When the animation-mounted component is destroyed, the corresponding variables such as parents, mutations, resize, and timers are not cleared, which will cause memory leaks. Therefore, add a destroy method to autoAnimate, which is called when the component is destroyed. Memory leak related information is as follows:
Memory keeps rising as page routing switches
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| auto-animate | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 10, 2024 1:09pm |