Skip to content

Commit

Permalink
Update ReactUpdates-test (facebook#28061)
Browse files Browse the repository at this point in the history
## Overview

These tests are important for `ReactDOM.render`, so instead of just
re-writing them to `createRoot` and losing coverage:
- Moved the `.render` tests to `ReactLegacyUpdates`
- Re-wrote the tests in `ReactUpdates` to use `createRoot`
- Remove `unstable_batchedUpdates` from `ReactUpdates`

In a future PR, when I flag `batchedUpdates` with a Noop, I can add the
gate to just the tests in `ReactLegacyUpdates`.
  • Loading branch information
rickhanlonii authored and AndyPengc12 committed Apr 15, 2024
1 parent b5990f3 commit 19055fd
Show file tree
Hide file tree
Showing 2 changed files with 2,158 additions and 475 deletions.
Loading

0 comments on commit 19055fd

Please sign in to comment.