Skip to content

Latest commit

 

History

History
80 lines (43 loc) · 3.76 KB

CHANGELOG.md

File metadata and controls

80 lines (43 loc) · 3.76 KB

@lit-labs/nextjs

0.2.0

Minor Changes

  • #4575 aa4fc3ef - Add support for Next.js 14 and App Router. No longer support Next.js 12.

    Note: By default, components in the App Router are React Server Components (RSCs). Deep SSR of Lit components does not work within server components as they result in React hydration mismatch due to the presence of the <template> element in the RSC payload containing the serialized server component tree, and the custom element definitions will not be included with the client bundle either when imported in server component files.

    Make sure any Lit components you wish to use are beyond the 'use client'; boundary. These will still be server rendered for the initial page load just like they did for the Pages Router.

Patch Changes

0.1.4

Patch Changes

  • #4354 c8e1509c - Add plugin option addDeclarativeShadowDomPolyfill which, if true, will add a script to the client bundle which will apply the @webcomponents/template-shadowroot ponyfill on the document. Note: If you were manually adding the polyfill, you can either remove your own implementation or set this option to false.

0.1.3

Patch Changes

  • #4306 c28ebba1 - Update dependency version to refer to stable versions, rather than pre-release versions of our own packages.

0.1.2

Patch Changes

0.1.2-pre.1

Patch Changes

  • #4141 6b515e43 - Update TypeScript to ~5.2.0

  • Updated dependencies [6b515e43]:

    • @lit-labs/ssr-react@0.2.1-pre.0

0.1.2-pre.0

Patch Changes

  • #3814 23326c6b - Update to TypeScript v5.0

  • Updated dependencies [23326c6b]:

    • @lit-labs/ssr-react@0.1.2-pre.0

0.1.2

Patch Changes

  • Updated dependencies [7932f7dd]:
    • @lit-labs/ssr-react@0.2.0

0.1.1

Patch Changes

0.1.0

Minor Changes

  • #3613 be182929 - Initial release of @lit-labs/nextjs package.

    This package contains a plugin for Next.js that enables deep server rendering of Lit components.

Patch Changes

  • Updated dependencies [b731bb5e]:
    • @lit-labs/ssr-react@0.1.0