Skip to content

Idea: Factor out react-project-server #39

@dallonf

Description

@dallonf

In my projects, I usually like to keep build tools in devDependencies, separate from code that's needed in the app itself (technically dependencies that are only used on the client should be here too, but that way lies madness and missing dependencies in prod, especially when server rendering).

I noticed that the blueprint lists react-project as a full-on production dependency, and as far as I can tell, the only reason that this is necessary is because of the server rendering features. If those were factored out into a separate module, then react-project-server could be under dependencies and react-project could be under devDependencies.

That said, server rendering isn't really a use case I need at the moment (and I'll probably just wind up putting react-project in devDependencies anyways), so I can't give much more feedback on how the separation could work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions