-
Couldn't load subscription status.
- Fork 49.7k
Closed
Description
We should:
- Move
ReactFiberTreeReflectionto be exported fromreact-reconciler/reflectionentry point (similar to howreact-dom/test-utilsentry point is set up). - Create a flat bundle for it (similar to how
react-dom/test-utilsis set up inbundles.js). - Change code that imports
ReactFiberTreeReflectiondirectly to do it throughreact-reconciler/reflectioninstead. - Make
react-reconcilera dependency ofreact-noop-rendererinpackage.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.