I’ve integrated <SmokeScene> inside the hero section of my website. However, I’ve noticed that every time the page is scrolled, the <SmokeScene> component gets re-rendered.
This causes unnecessary performance overhead and negatively impacts the user experience. Is this expected behavior, or is there a way to prevent re-renders on scroll events?
Any insights on how to optimize this would be appreciated.
I’ve integrated
<SmokeScene>inside the hero section of my website. However, I’ve noticed that every time the page is scrolled, the<SmokeScene>component gets re-rendered.This causes unnecessary performance overhead and negatively impacts the user experience. Is this expected behavior, or is there a way to prevent re-renders on scroll events?
Any insights on how to optimize this would be appreciated.