0

All examples of server side rendering are showing how to generate static content using express. When client enters the page the static content is getting generated and returned using node.

I'd like to be fully static with this and use say webpack to generate html on build command. The html would load js anyway, but if there is no js support, it would still show static content. This way I can host my server site rendered page on say Github pages.

How can I achieve this please?

1 Answer 1

1

One option would be to use a framework built specifically for this, such as Gatsby.

Sign up to request clarification or add additional context in comments.

2 Comments

Awesome. Is the entire framework built for that, or any specific part?
Does the description in the header of its website answer your question? "Blazing-fast static site generator for React"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.