Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.1.5
Choose a base ref
...
head repository: testing-library/react-testing-library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.0.0
Choose a head ref
  • 1 commit
  • 14 files changed
  • 2 contributors

Commits on Mar 31, 2022

  1. feat: Add support for React 18 (#1031)

    BREAKING CHANGE: Drop support for React 17 and earlier. We'll use the new [`createRoot` API](reactwg/react-18#5) by default which comes with a set of [changes while also enabling support for concurrent features](reactwg/react-18#4).
    To can opt-out of this change by using `render(ui, { legacyRoot: true } )`. But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.
    
    Co-authored-by: Philipp Fritsche <ph.fritsche@gmail.com>
    eps1lon and ph-fritsche authored Mar 31, 2022
    Configuration menu
    Copy the full SHA
    ccd8a0d View commit details
    Browse the repository at this point in the history
Loading