Skip to content

<svelte:head> creates duplicate elements on hydration #1607

@morleytatro

Description

@morleytatro

When hydrating SSR-generated Svelte components, the svelte:head component creates duplicate elements. This seems to be true for all elements other than title. Please see the following repo:
https://github.com/morleytatro/svelte-head-test

Steps to repro:

  1. npm install
  2. npm run start
  3. Visit localhost:3333 in your browser.
  4. Check the two meta tags and the canonical link element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions