Skip to content

Commit bce6e55

Browse files
authored
Add warning page for RTR deprecation (#6632)
* Add warning page for RTR deprecation * shorten path * Add link for RN testing library
1 parent 9d3fc07 commit bce6e55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: react-test-renderer Deprecation Warning
3+
---
4+
5+
react-test-renderer is deprecated. A warning will fire whenever calling ReactTestRenderer.create() or ReactShallowRender.render(). The react-test-renderer package will remain available on NPM but will not be maintained and may break with new React features or changes to React's internals.
6+
7+
The React Team recommends migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started) for a modern and well supported testing experience.

0 commit comments

Comments
 (0)