mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
d78c6239225257f079ce4fc49b3fe10a32e3a843
findDOMNode from OSS builds (#28267)
In the next major `findDOMNode` is being removed. This PR removes the
API from the react-dom entrypoints for OSS builds and re-exposes the
implementation as part of internals.
`findDOMNode` is being retained for Meta builds and so all tests that
currently use it will continue to do so by accessing it from internals.
Once the replacement API ships in an upcoming minor any tests that were
using this API incidentally can be updated to use the new API and any
tests asserting `findDOMNode`'s behavior directly can stick around until
we remove it entirely (once Meta has moved away from it)
DiffTrain build for [9ad40b1440](https://github.com/facebook/react/commit/9ad40b1440a2c0b61530f3710e5dae3847611b9c)
Please do not delete this branch
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%