-
Notifications
You must be signed in to change notification settings - Fork 151
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
[Question] NextJS 12 Support #273
Comments
Hi, it should work with Next.js 12. The readme currently doesn't include v12 as supported version, since the major feature in v12 were edge functions (middleware), that we currently cannot support. But we may should update the readme to include v12 support (without middleware) 👍 |
Excellent! |
Another missing feature from Next.js 12 is esm-support, that apparently does not work: #275 |
@ofhouse Thanks for the info! |
@ofhouse would it be possible to support esm? |
@ofhouse sorry for the dumb question, but does the lambda support React Server Components (nextjs 12) |
@khuezy No wrong questions here 😄 HTTP streaming itself is not a new technology and was established over 20 years ago (I think). However I think HTTP streaming is not a big deal as Vercel markets it, since in practice it will probably reduce the time-to-first byte (TTFB) in between 10-20ms which is barely noticeable. Since a HTTP streaming response can always be converted into a synchronous HTTP response (via buffering) I don't see any issues why Lambda should not be able to render Server Components. |
Thanks for the response and info! |
Hello,
I have been using this package for multiple projects and it has been working great, thanks for providing such an awesome package!
I see in the README file that it mentions nextjs 9-11 support, and was curious if anyone has tried it using v12. I would like to get the development performance benefits that v12 is boasting but of course, wanted to ensure that this does work with v12 before doing so.
The text was updated successfully, but these errors were encountered: