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

Create walk-through guide for Static Site Rendering #249

Open
ninjasort opened this issue Jul 16, 2016 · 3 comments
Open

Create walk-through guide for Static Site Rendering #249

ninjasort opened this issue Jul 16, 2016 · 3 comments

Comments

@ninjasort
Copy link

I think it would be beneficial to explain in more detail how to effectively set up static site rendering for developers using hjs-webpack with React, React Router, Redux, and hjs-webpack.

I've created an initial Wiki Page and would love to help outline a guide for how to build a static site with this toolchain. Thoughts?

@HenrikJoreteg
Copy link
Owner

Hi @cameronroe, thanks for the suggestion.

I think you're right that it'd be useful, tricky thing for me personally is finding time to do it and keep it up to date. Also, since these types of things have a tendency to get stale, it may possibly be better done as a blogpost with a publishing date on it?

I'm certainly not opposed to it, I just know that I personally don't have the time right now. What do you think?

@ninjasort
Copy link
Author

Thanks for the response @HenrikJoreteg. To be honest, I have to agree with you here. I don't have that much time either, and although I think this would be extremely useful. I'll need to revisit it in the future. Would you mind keeping the issue open and I'll see if I can get to it over the next few quarters?

@ninjasort
Copy link
Author

Revisiting this issue. I think this would be great to try to figure out. The main question I have, is how html files get created with webpack? The tricky part will be pre-rendering routes from react-router. If the routes are configured through a routes.js file, it might be possible to use hjs-webpack to load in those routes through an option and pre-render the html files that way.

Thoughts?

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

2 participants