-
Notifications
You must be signed in to change notification settings - Fork 818
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.35.1
Current Behavior
We facing an issue regarding initial rendering inside a lazy rendering 3rd party grid like AGGrid. See Video:
In the column "Price" is a web component without usage of stencil
In the column "Electric" a stencil component.
Screen.Recording.2025-06-25.at.12.50.48.mov
If you use scrollbar to scroll the grid you can see that the grid has problems to render the stencil component but no problems with the none stencil component.
Also on the bottom you find a scenario where I re-render 100 of components. You see there no issues or only a minimal difference between both.
Maybe this is a side effect of the vdom?
Why is ag grid via scrolling by scrollbar so much worse than re-render it 100 times?
Expected Behavior
Initial rendering should be as fast a standard web component.
System Info
MacOS, ChromeSteps to Reproduce (Layzloading)
Dont see any issue here, its lazy rendering fine
- Checkout https://github.com/danielleroux/stencil-render-performance
- npm install
- npm run start
- Scroll AGGrid via scrollbar
- Click button to trigger fast re-render
Steps to Reproduce (dist-components)
- Checkout https://github.com/danielleroux/stencil-render-performance
- npm install
- npm start.components
- Scroll AGGrid via scrollbar
- Click button to trigger fast re-render
Code Reproduction URL
https://github.com/danielleroux/stencil-render-performance
Additional Information
No response