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
) where javascript profiler (this is minified code in production, apologies) is indicating the performance issue is.
Describe the bug
It's difficult for me to accurately describe which elements, or how many, are appearing on screen, but because we have many DOM elements that are lazily loaded based on scroll usage, the mutation observer callback is firing off like crazy. I'm wondering if debouncing or throttling the function can prevent this.
Hey folks. This issue hasn't received any traction for 90 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it. ⓘ
Reproduction
Not really a reproduction, but pointer is showing (
twind/packages/core/src/observe.ts
Line 43 in 07a363a
Describe the bug
It's difficult for me to accurately describe which elements, or how many, are appearing on screen, but because we have many DOM elements that are lazily loaded based on scroll usage, the mutation observer callback is firing off like crazy. I'm wondering if debouncing or throttling the function can prevent this.
Severity
blocking all usage of Twind
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: