Open pyongchen opened 3 months ago
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 |
@pyongchen did you want to make the changes shown in the review?
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