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
So had an issue where I was creating some icon based components and using it both in my page.js and my template.html, which is leading to duplicate SSR content in the page when building.
Details
You can see in the linked PR, I have a component that is being used in both the index.js of the project and through a component that is used in the app.html template.
I would say this issue takes precedence over #988 since while the warnings are there, everything is working. So solving for this seems paramount, and if we can solve 988 too great, otherwise we can circle back to it after solving this one.
The text was updated successfully, but these errors were encountered:
thescientist13
changed the title
duplicate HTML when using prerender and shared components used in both pages and templates
duplicate HTML when using prerender and shared components used in both SSR pages and templates
Dec 27, 2023
Type of Change
Bug
Summary
So had an issue where I was creating some icon based components and using it both in my page.js and my template.html, which is leading to duplicate SSR content in the page when building.
Details
You can see in the linked PR, I have a component that is being used in both the index.js of the project and through a component that is used in the app.html template.
Which is the same outcomes observed trying to fix #988
I would say this issue takes precedence over #988 since while the warnings are there, everything is working. So solving for this seems paramount, and if we can solve 988 too great, otherwise we can circle back to it after solving this one.
The text was updated successfully, but these errors were encountered: