-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
Summary of proposed feature
React 17 was released recently with minimal breaking changes. next-auth currently supports only ^16.13.1:
Lines 57 to 60 in 5126f4e
| "peerDependencies": { | |
| "react": "^16.13.1", | |
| "react-dom": "^16.13.1" | |
| }, |
Could this be widened to ^16.13.1 || ^17.0.0?
Purpose of proposed feature
Allows apps using React 17 to also use next-auth without peer dependency warnings.
Detail about proposed feature
n/a
Potential problems
There are subtle differences between React 16 and React 17, so it's worth reviewing to see if any of them might affect the library's functionality.
Describe any alternatives you've considered
You could alternatively release a new major version of next-auth that peer-depends only on React ^17.0.0, but since the changes are minimal, you may not want to deprecate support for React 16 going forward.
Additional context
n/a
Please indicate if you are willing and able to help implement the proposed feature.
Yes.