Skip to content

Commit 9bbef84

Browse files
committed
react-test-renderer微修正
1 parent f20af4e commit 9bbef84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ Accessing element.ref is no longer supported. ref is now a regular prop. It will
441441

442442
このテストレンダラは、[React Testing Library](https://testing-library.com) のようなより実用的なテスト戦略が利用可能になる前に作成されたものです。現在では、モダンなテストライブラリの使用が推奨されます。
443443

444-
React 19 では、`react-test-renderer` は非推奨警告をログに記録し、並行レンダリングに切り替わりました。モダンかつよりよくサポートされたテスト体験のために、テストを [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) または [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started) に移行することを推奨します。
444+
React 19 では、`react-test-renderer` は非推奨警告をログに記録するようになり、また並行レンダーに切り替わりました。モダンかつよりよくサポートされたテスト体験のためには、テストを [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) または [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started) に移行することを推奨します。
445445

446446
## 注目すべき変更点 {/*notable-changes*/}
447447

0 commit comments

Comments
 (0)