Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdks/nextjs-sdk/examples/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "ISC",
"dependencies": {
"@descope/nextjs-sdk": "workspace:*",
"next": "14.2.32",
"next": "15.5.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Comment on lines 16 to 17
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next.js 15 officially recommends React 19, although React 18 is still supported. Since this is a major version upgrade, consider updating React and React-DOM to version 19 for optimal compatibility and to take advantage of the latest features. The current version specification "^18.2.0" may work, but could result in warnings or suboptimal behavior. Note that the main nextjs-sdk package already specifies React ">=18" in peerDependencies, indicating support for React 19.

Suggested change
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"

Copilot uses AI. Check for mistakes.
}
Expand Down
Loading