Skip to content

Commit edd8fbe

Browse files
committed
[RTR] Add usage warning behind flag (#27903)
## Summary Moving towards deprecation of ReactTestRenderer. Log a warning on each render so we can remove the exports in a future major version. We can enable this flag in web RTR without disrupting RN tests by flipping the flag in `packages/shared/forks/ReactFeatureFlags.test-renderer.js` ## How did you test this change? `yarn test packages/react-test-renderer/src/__tests__/ReactTestRenderer-test.js` DiffTrain build for [66c8346](66c8346)
1 parent ec5b61a commit edd8fbe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aaf85f3af8c30252edaab5c24975cd086937b2a4
1+
66c8346401d271588e4c400921c5dab5478fc623

compiled/facebook-www/__test_utils__/ReactAllWarnings.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)