Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Consolidate packages #489

Description

@gaearon

Currently there's a lot of forking going on which makes it harder to figure out how everything fits together. For example:

  • Injecting into the hook

    • React tries to do this here
    • But actually the hook doesn't exist yet until injected so RN just copies the same code here
  • Setting up the connection

  • Nuclide vendors the Electron build for the Inspector (although it only uses the client while RN runs its fork of the server).

  • Backends depend on React internals but aren’t colocated with React


The goals for consolidation:

  • Reduce the number of forks to make it easier to make changes across them (e.g. to support Fiber).
  • Make it easy for downstream packages (RN, Nuclide) to accept changes related to DevTools by packaging them.
  • Consolidate the code relying on React internal data structure inside the React repo.

The plan for consolidation:

Activity

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

      Issue actions