github lit/lit @lit-labs/ssr-react@0.3.0

latest release: @lit/react@1.0.5
14 days ago

Minor Changes

  • #4575 aa4fc3ef - The Node build of @lit-labs/ssr-react/enable-lit-ssr.js now also monkey-patches react/jsx-runtime to include logic for deeply server-rendering Lit components without modifying jsxImportSource in tsconfig.

    The monkey-patching logic also adds a workaround for inconsistent es module interop behavior in tools like webpack which could lead to errors like TypeError: Cannot set property createElement of [object Module] which has only a getter.

Patch Changes

  • #4575 aa4fc3ef - Use a global flag to detect whether @lit-labs/ssr-react/enable-lit-ssr.js was used for coordinating props when server rendering components made with @lit/react.

Don't miss a new lit release

NewReleases is sending notifications on new releases.