Files
react/packages/react-noop-renderer
Brian Vaughn ea2af878cc Root API should clear non-empty roots before mounting (#18730)
* Root API should clear non-empty roots before mounting

Legacy render-into-subtree API removes children from a container before rendering into it. The root API did not do this previously, but just left the children around in the document.

This commit adds a new FiberRoot flag to clear a container's contents before mounting. This is done during the commit phase, to avoid multiple, observable mutations.
2020-04-28 13:07:42 -07:00
..
2016-10-25 08:36:37 +01:00

react-noop-renderer

This package is the renderer we use for debugging Fiber. It is not intended to be used directly.