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

support SSR + server data + server redirection #10

Closed
hi-ogawa opened this issue Jun 24, 2023 · 0 comments · Fixed by #17
Closed

support SSR + server data + server redirection #10

hi-ogawa opened this issue Jun 24, 2023 · 0 comments · Fixed by #17

Comments

@hi-ogawa
Copy link
Owner

hi-ogawa commented Jun 24, 2023

Probably we can end up with vite-plugin-ssr or rakkasjs like convention.
My motivation is to replace remix in https://github.com/hi-ogawa/ytsub-v3 with something very simple "mostly CSR but nice HMR" system.

ssr only

  • Page export itself should be isomorphic and thus globPageRoutes is isomorphic
  • (convention) server document render callback convention
    • probably indexHtmlMiddleware abstraction won't be useful anymore
  • client entry hydrates root

EDIT: resolved in

ssr with server data

EDIT: resolved in

server side redirection

@hi-ogawa hi-ogawa changed the title support SSR with server data support SSR + server data + server redirection Jun 25, 2023
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