Skip to content
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

Hydration errors when using <Meta /> in MDX files with SolidStart #28

Open
fabian-hiller opened this issue Feb 18, 2023 · 2 comments
Open

Comments

@fabian-hiller
Copy link

I get the following error when using <Meta name="description" content="..." /> in MDX files with SolidStart:

Failed to execute 'replaceChild' on 'Node': The node to be replaced is not a child of this node.

Steps to reproduce:

1. Open this StackBlitz project: https://stackblitz.com/edit/node-lctb8x
2. Once the website is ready, navigate to "MDX Doc 1"
3. Click on the reload page button of StackBlitz
4. Navigate to "MDX Doc 2"

The error does not occur when navigating to "index", pressing the reload button and then navigating between the MDX files.

@huijiewei
Copy link

use solid-jsx lib

https://stackblitz.com/edit/node-1zzhzu

@fabian-hiller
Copy link
Author

@huijiewei solid-jsx didn't fix it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants