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

Server-side rendering #7

Open
jchitel opened this issue Nov 18, 2019 · 0 comments
Open

Server-side rendering #7

jchitel opened this issue Nov 18, 2019 · 0 comments

Comments

@jchitel
Copy link
Owner

jchitel commented Nov 18, 2019

Right now we are just returning raw HTML from the server. We can use server-side rendering instead, so the server will actually be calling into the client. This has pretty heavy implications, and is where a Next-like design will need to come into play.

  • We need document, head, and body components
  • We need the ability to fork client vs server logic in our components (akin to getInitialProps()). Next prefers a fully isomorphic setup, but we want to be able to see a clear separation between what code is running on the client vs the server.
  • Combining the above two points together, we need to do what Next does to bootstrap a React component tree into a React rendered document. This will be complicated (and fun).
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

No branches or pull requests

1 participant