DepFixer

Is @testing-library/react 12 compatible with React 18?

Issues Detected

@testing-library/react@12.1.5 has issues with React 18.3.1

@testing-library/react v12.x is designed for React 16-17. Use v13+ for React 18

Check Details

Framework
⚛️ React18.3.1
Package
@testing-library/react@12.1.5
Conflict typecompatibility-conflict
FixUpdate react to version 17.0.2
Suggested17.0.2
Verified today1 check

FAQ

There are compatibility issues between @testing-library/react@12.1.5 and React 18.3.1. @testing-library/react v12.x is designed for React 16-17. Use v13+ for React 18

Analyze Your Full package.json

Upload your package.json and get a complete compatibility report for all your dependencies at once.

Try Another Check

Check another package combination instantly

1