SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Remove react-test-renderer/shallow export (#28497)

Based on
- https://github.com/facebook/react/pull/28419

## Summary

The shallow renderer was extracted from the repo years ago and published
by enzyme: https://github.com/enzymejs/react-shallow-renderer

We no longer need to reexport under the react-test-renderer namespace.
People can import `react-shallow-renderer` as needed

## How did you test this change?

- Observe shallow.js in react-test-renderer package from standard build
- Run build with changes on this branch
- Observe no more shallow.js export in build output
J
Jack Pope committed
1f9befef5c6045c6f65f5c667d83fbe6ab025d81
Parent: 84c84d7
Committed by GitHub <[email protected]> on 3/26/2024, 10:04:47 PM