Skip to content

npm run build with prerender #203

Closed
Closed
@kaihendry

Description

@kaihendry
$ 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.

Activity

gaearon

gaearon commented on Jul 26, 2016

@gaearon
Contributor

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

gaearon commented on Jul 29, 2016

@gaearon
Contributor

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

kaihendry

kaihendry commented on Aug 1, 2016

@kaihendry
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

gaearon commented on Aug 1, 2016

@gaearon
Contributor

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.

locked and limited conversation to collaborators on Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kaihendry@gaearon@mxstbr

        Issue actions

          `npm run build` with prerender · Issue #203 · facebook/create-react-app