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

npm run build with prerender #203

Closed
kaihendry opened this issue Jul 26, 2016 · 4 comments
Closed

npm run build with prerender #203

kaihendry opened this issue Jul 26, 2016 · 4 comments

Comments

@kaihendry
Copy link

$ grep -i welcome index.html

Would be nice if this tool would facilitate a pre-render IIUC.

Would be good at least to learn how to do it the canonical way.

@gaearon
Copy link
Contributor

gaearon commented Jul 26, 2016

What does prerender mean? I don't quite understand.
If you mean server rendering, there are no plans to support it in this tool.

@gaearon
Copy link
Contributor

gaearon commented Jul 29, 2016

I’m not sure what you meant exactly so I’ll close, but feel free to elaborate.
Thanks!

@gaearon gaearon closed this as completed Jul 29, 2016
@kaihendry
Copy link
Author

Yes, I mean "server rendering" which I think some people refer to is a "isomorphic" app? I think this is generally pretty crucial feature to a Website that intend to load fast and by picked up by crawlers.

I even went so far as an silly example: https://jsfiddle.net/dfumm9p9/

@gaearon
Copy link
Contributor

gaearon commented Aug 1, 2016

I believe README explicitly mentions this. We don't intend to support server rendering with this tool for numerous reasons (mostly that it imposes a lot more configuration and decisions than we are willing to support at this point). This tool is not the way to create React apps, it's just one possible way. You might be better served by tools listed as "alternatives" in README.

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants