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

feat: partial prerendering #396

Closed
wants to merge 23 commits into from
Closed

feat: partial prerendering #396

wants to merge 23 commits into from

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Jun 12, 2024

This looks like react-dom ssr feature, so I can (should?) experiment without rsc first? (EDIT: done in https://github.com/hi-ogawa/experiments/tree/main/ppr)

prerender/resume is only available on experimental, so probably we should put off a little.

Again, demo on cloudflare is working but not on vercel

todo

  • minimal demo without RSC feat: add PPR demo experiments#18
  • integrate RSC
    • for now, separate it from prerender
    • for now, just for ssr and not for flight request (like Next.js?)
    • can we get away without async context? probably we can toggle postpone based on global, just like what I did for ssg process.env["REACT_SERVER_PRERENDER"] = "1".
    • how to read back prelude and postponed during runtime?
      • we can go with globalThis injection to the server entry...
    • cannot minify after build?
    • deal with compression and stream?
  • port next.js demo? https://github.com/vercel-labs/next-partial-prerendering
  • test

@hi-ogawa hi-ogawa changed the title chore: experimental prerender feat: partial prerendering Jun 14, 2024
@hi-ogawa hi-ogawa marked this pull request as ready for review June 14, 2024 04:43
hi-ogawa added a commit that referenced this pull request Jul 5, 2024
@hi-ogawa
Copy link
Owner Author

hi-ogawa commented Jul 5, 2024

@hi-ogawa hi-ogawa closed this Jul 5, 2024
@hi-ogawa hi-ogawa deleted the feat-ppr branch July 5, 2024 02:05
hi-ogawa added a commit that referenced this pull request Jul 11, 2024
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.

None yet

1 participant