Closed
Description
We should:
- Move
ReactFiberTreeReflection
to be exported fromreact-reconciler/reflection
entry point (similar to howreact-dom/test-utils
entry point is set up). - Create a flat bundle for it (similar to how
react-dom/test-utils
is set up inbundles.js
). - Change code that imports
ReactFiberTreeReflection
directly to do it throughreact-reconciler/reflection
instead. - Make
react-reconciler
a dependency ofreact-noop-renderer
inpackage.json
. This should ensure the reconciler doesn't actually get bundled withreact-noop-renderer
, and instead stays arequire()
call. Then the interaction of these two packages will actually be tested when you runyarn test-build
(afteryarn build core,noop,reconciler --type=NODE
).
This task is not friendly to beginners. It requires an understanding of the relationship between different packages, and a willingness to research and experiment with how our build process is set up.