Skip to content

spiceflow@1.26.0-rsc.13

Choose a tag to compare

@remorses remorses released this 16 Jul 06:20
· 36 commits to main since this release

Fix useId() hydration mismatch between SSR and client in production builds. The SSR component tree was missing a sibling placeholder for DefaultScrollRestoration, causing React's tree-position-based ID generation to produce different values during SSR vs hydration. This broke any library using useId() internally (base-ui, radix-ui, headless-ui, etc).

Fix duplicate Spiceflow client state with externalizeShared. Framework bootstrap and client components now import router state through the external spiceflow/react provider, so the browser evaluates one runtime and internal links fetch and render their destination.

Fix "Module not found in remote registry" error when a federation payload's client component has only entry/framework JS deps. Previously selectClientChunks stripped all such deps and the module was silently dropped from clientModules metadata, even though Flight still referenced it. Now falls back to the module's own path so the consumer can still load it.

Replace federation: 'remote' with externalizeShared: true for federation producers. The unified option now configures strict client entry signatures, shared-module externalization in production and development, OXC JSX, and dev CSS metadata.