-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Message Failed to serialize light DOM
logged when resolving components
#561
Comments
Thanks for the issue! This project is currently maintained for the purposes of supporting Ionic Framework. At this time, only new issues & pull requests that support Ionic Framework will be prioritized. For the latest updates regarding the maintenance status of this project, please see this section of the project's README |
fixed by #573 |
I'm still getting the I've provided more details in this thread in DIscord. |
I wonder where this |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the output targets, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Stencil Version
4.22.3
Stencil Framework Output Target
React
Stencil Framework Output Target Version
0.7.4
Current Behavior
The SSR component resolver does not properly handle all components and produces the following error in the logs:
Expected Behavior
All components and their child components should be resolved correctly during SSR, ensuring that no error messages are logged. The serialization process should handle all component types properly to support seamless hydration.
Steps to Reproduce
Check out the
stencil-ds-output-targets
run:Open the app on
http://localhost:3000
and look into your terminal.Code Reproduction URL
https://github.com/ionic-team/stencil-ds-output-targets
Additional Information
I submitted two PRs that address the problem:
1. Quick Fix: Provides a temporary solution but does not guarantee prevention of future issues. (#563)
2. Extended Logic: Adds more comprehensive logic to handle all possible
ReactNode
types. However, since I am not entirely familiar with React’s internals, I cannot guarantee its correctness. (#562)Feel free to review the PRs, suggest improvements, or close either of them as you see fit.
The text was updated successfully, but these errors were encountered: