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

Add AsyncLocalStorage to edge runtime #1851

Closed
1 task done
ascorbic opened this issue Dec 21, 2022 · 0 comments · Fixed by #1907
Closed
1 task done

Add AsyncLocalStorage to edge runtime #1851

ascorbic opened this issue Dec 21, 2022 · 0 comments · Fixed by #1907
Assignees

Comments

@ascorbic
Copy link
Contributor

ascorbic commented Dec 21, 2022

Next 13 appdir uses AsyncLocalStorage during edge SSR. Currently this is not supported in Deno. There is a fallback that doesn't use it, but Next doesn't like using this in a scenario like Deno Deploy which reuses isolates. Luckily Deno support is being actively worked on. When it lands, we should import the polyfill and add it to the edge runtime.

Blocked by:

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 a pull request may close this issue.

1 participant