Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit client component chunk scripts during SSR #18

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

unstubbable
Copy link
Owner

Based on facebook/react#27314

This feature requires AsyncLocalStorage to be available in the edge environment via the node:async_hooks module. This is the case for Vercel as well as Cloudflare.

fixes #17

@vercel
Copy link

vercel bot commented Oct 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mfng ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2023 11:33am

Based on facebook/react#27314

This feature requires `AsyncLocalStorage` to be available in the edge
environment via the `node:async_hooks` module. This is the case for
[Vercel](https://vercel.com/docs/functions/edge-functions/edge-runtime#compatible-node.js-modules)
as well as
[Cloudflare](https://developers.cloudflare.com/workers/runtime-apis/nodejs/asynclocalstorage/).

fixes #17
@unstubbable unstubbable force-pushed the update-to-latest-canary branch from 335ef4d to f3b68ab Compare October 30, 2023 11:32
@unstubbable unstubbable merged commit fc9718f into main Oct 30, 2023
2 checks passed
@unstubbable unstubbable deleted the update-to-latest-canary branch October 30, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flight update: Preinitialze client component import during SSR
1 participant