You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c8260bd
Browse filesBrowse the repository at this point in the historyBrowse files
docs: fix react-test-renderer/shallow typo and wording in React 19 Upgrade Guide for clarity
- `react-test-render/shallow` → `react-test-renderer/shallow` (the package name was missing an "er")
- "Some of the removed have types been moved" → "Some of the removed types have been moved"
- "what you'd also have to do" → removed the duplicated "also"
In React 18, we updated `react-test-renderer/shallow` to re-export [react-shallow-renderer](https://github.com/enzymejs/react-shallow-renderer). In React 19, we're removing `react-test-render/shallow` to prefer installing the package directly:
337
+
In React 18, we updated `react-test-renderer/shallow` to re-export [react-shallow-renderer](https://github.com/enzymejs/react-shallow-renderer). In React 19, we're removing `react-test-renderer/shallow` to prefer installing the package directly:
338
338
339
339
```bash
340
340
npm install react-shallow-renderer --save-dev
@@ -579,7 +579,7 @@ In the future we will more aggressively block accessing internals from React to
We've cleaned up the TypeScript types based on the removed APIs in React 19. Some of the removed have types been moved to more relevant packages, and others are no longer needed to describe React's behavior.
582
+
We've cleaned up the TypeScript types based on the removed APIs in React 19. Some of the removed types have been moved to more relevant packages, and others are no longer needed to describe React's behavior.
583
583
584
584
<Note>
585
585
We've published [`types-react-codemod`](https://github.com/eps1lon/types-react-codemod/) to migrate most type related breaking changes:
@@ -720,7 +720,7 @@ If you define the reducer inline, we encourage to annotate the function paramete
0 commit comments