Packages

@unhead/react

3.4.3 · 13 Oct 2026MIT222.9k / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major23 Mar 2025Where it was published

2.1.18 is the newest release of 2.x.

In short

13 breaking3 deprecated11 new6 faster18 fixed

  • Breaking

    Only handle promise input when opted in

  • Breaking

    Client / server subpaths

  • Breaking

    Drop implicit context

  • Breaking

    Property debounce dom updates

  • Breaking

    Properly debounce dom updates

  • Breaking

    Drop CJS exports

  • Breaking

    V2 core rewrite

  • Breaking

    core: Remove HashHydrationPlugin

Release note

The section about @unhead/react of a note shared by several packages.

Unhead v2

The latest major is now stable! Check out the v2 release notes and the Vue migration guide or TypeScript migration guide.

Breaking Changes

  • Breaking

    Only handle promise input when opted in

  • Breaking

    Client / server subpaths

  • Breaking

    Drop implicit context

  • Breaking

    Property debounce dom updates

  • Breaking

    Properly debounce dom updates

  • Breaking

    Drop CJS exports

  • Breaking

    V2 core rewrite

  • Breaking

    core: Remove HashHydrationPlugin

  • Breaking

    core: unctx fallback context

  • Breaking

    core: Default capo sorting

  • Breaking

    core: Drop vmid, hid, children body keys

  • Breaking

    core: Make TemplateParamsPlugin opt-in

Features

  • Vanilla function resolves

  • Angular support

  • Angular support

  • @unhead/react

  • Default important head tags

  • @unhead/svelte

  • Solid.js support

  • @unhead/angular

  • core: Whitelist styles with useHeadSafe()

  • core: Whitelist styles with useHeadSafe()

  • core: Canonical plugin

  • react: Simplified API, useScript()

  • schemaOrg,react: @unhead/schema-org/react

Bug Fixes

  • Export InferSeoMetaPlugin from unhead/optionalPlugins

  • Handle boolean props

  • Support legacy

  • Clear resolved input when patching a node

  • Deprecated

    Deprecate @unhead/schema

  • Deprecated

    Deprecate @unhead/shared

  • SerializableHead input support and exports

  • V1 deprecations

  • Cjs compat

  • Validate correct type exports

  • Track title side effects

  • Avoid normalizing class and style strings

  • Ensure json strings are properly encoded

  • Use a backwards-compatible alternative to Object.hasOwn

  • core: Avoid recursive function patching

  • core: Broken style types

  • core: Broken promise resolving for proxy objects

  • core: Clone tags for immutability

  • core: Server template params missing from SSR payload

  • Breaking

    core,types: Revert breaking change on Head type

  • core,vue: Missing subpath exports

  • Deprecated

    core,vue: Deprecate server composables

Performance

  • Isolate plugin logic

  • Drop packrup dependency

  • Prefer mapped entries

  • Mark explicit no side effects on createHead variants

  • core: Make AliasSortingPlugin opt-in

  • core: Normalize entries once

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.