Skip to content

Create Separate Copies of Each Renderer #6795

Closed
@sebmarkbage

Description

@sebmarkbage

A simple plan:

  1. Copy all files to each renderer package.

  2. Rewrite any require to the files in the isomorphic folder to require('react/lib/MyFileName'). (Hardcode a whitelist if needed.)

That way they all share isomorphic modules but none of the other files.

That way versioning separate renderers is easy and doesn't depend on everyone updating their react peer dependencies.

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

    Issue actions