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
`act` from `react-dom/test-utils` has been deprecated in favor of `act` from `react`.
7
+
`react-dom/test-utils`의 `act`는 더 이상 사용되지 않습니다. 대신 `react`의 `act`를 사용하세요.
8
8
9
-
Before:
9
+
이전 코드
10
10
11
11
```js
12
12
import {act} from'react-dom/test-utils';
13
13
```
14
14
15
-
After:
15
+
변경 후 코드
16
16
17
17
```js
18
18
import {act} from'react';
19
19
```
20
20
21
-
## Rest of ReactDOMTestUtils APIS {/*rest-of-reactdomtestutils-apis*/}
21
+
## 나머지 ReactDOMTestUtils API {/*rest-of-reactdomtestutils-apis*/}
22
22
23
-
All APIs except `act` have been removed.
23
+
`act`를 제외한 모든 API는 제거되었습니다.
24
24
25
-
The React Team recommends migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) for a modern and well supported testing experience.
25
+
React 팀은 안정적으로 지원되는 최신 테스트 환경을 위해 테스트를 [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/)로 마이그레이션하는 것을 권장합니다.
0 commit comments