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
This change enables React 19 support for `auth0-react`
This change builds upon PR #819 by @leefreemanxyz
### Changes
- Version bumps of related packages in package.json, package-lock.json
update.
- Updated tests to use the new version of packages.
- Added handling for an edge case where error was not thrown if popup
was closed in `loginWithPopup`.
- Updated sample code to use React 19.
- Linting changes.
#### Commits
- **feat(react 19): update react to 19, testing libraries deps to latest
and fix broken tests**
- **chore: update @types/react and @types/react-dom to version 19.0.0**
- **refactor: remove explicit return types for functional components in
tests and providers**
- **add explicit type annotations for React.JSX.Element**
- **handle popup closed error not thrown**
- **update example code**
- **update tests**
- **package json changes**
### Testing
*PASSING*
```log
=============================== Coverage summary ===============================
Statements : 100% ( 166/166 )
Branches : 100% ( 72/72 )
Functions : 100% ( 41/41 )
Lines : 100% ( 158/158 )
================================================================================
Test Suites: 8 passed, 8 total
Tests: 81 passed, 81 total
Snapshots: 0 total
Time: 4.995 s
Ran all test suites.
```
- [x] This change adds test coverage for new/changed/fixed functionality
### Checklist
- [x] I have added documentation for new/changed functionality in this
PR or in auth0.com/docs
- [x] All active GitHub checks for tests, formatting, and security are
passing
- [x] The correct base branch is being used, if not the default branch
0 commit comments