Commit a6c26c0
committed
Replace the now removed
- `ReactDOM.render` and `ReactDOM.unmountComponentAtNode` have been removed in React 19. This commit replaces their usage with `rtl.render` and `rtl.cleanup` as recommended in the React 19 migration guide.ReactDOM methods1 parent 7db1cdf commit a6c26c0
1 file changed
+5
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
342 | 340 | | |
343 | 341 | | |
344 | 342 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 343 | + | |
349 | 344 | | |
350 | 345 | | |
351 | 346 | | |
352 | | - | |
353 | 347 | | |
| 348 | + | |
354 | 349 | | |
355 | | - | |
356 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
357 | 353 | | |
358 | 354 | | |
359 | 355 | | |
| |||
0 commit comments