solid-meta icon indicating copy to clipboard operation
solid-meta copied to clipboard

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

Open fabian-hiller opened this issue 2 years ago • 2 comments

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.

fabian-hiller avatar Feb 18 '23 16:02 fabian-hiller

use solid-jsx lib

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

huijiewei avatar Mar 27 '23 13:03 huijiewei

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

fabian-hiller avatar Apr 03 '23 20:04 fabian-hiller