Skip to content

RFC: ReactFiberReconciler release artifact #9103

Closed
@iamdustan

Description

@iamdustan

This issue is intended to be a discussion for how to distribute the ReactFiberReconciler.js file and dependencies for custom renderers.

Currently first-class renderers within the React codebase/Facebook ecosystem do not have any concerns for this because of Haste / access to the React.js build + publish tooling within this codebase.

3rd party renderers are currently adding react-dom to their dependency list and requiring react-dom/lib/ReactFiberReconciler.js to build and expose their custom renderer.

Ideally, ReactFiberReconciler.js would be distributed with the react package or as a standalone react-fiber-reconciler package. Whether this is at react/reconciler.js or react/lib/reconciler.js idk. I think at the root is better to continue the discouragement of looking in react/lib/* for anything.

I understand flat bundles are coming, too. I don’t know if that should block this or if this could be a flat bundle, or any other alternative.

Is this something the team is ready to commit to and support if we came to a decision on approach and I put together a PR?

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions