Skip to content

examples(with-redux): update to Next 16, React 19, RTK 2.12 - #98924

Open
markerikson wants to merge 1 commit into
vercel:canaryfrom
markerikson:examples/with-redux-rtk2-update
Open

markerikson wants to merge 1 commit into
vercel:canaryfrom
markerikson:examples/with-redux-rtk2-update

Conversation

@markerikson

Copy link
Copy Markdown

The with-redux example hasn't been touched in a couple years. I'm doing an update of our own templates and examples, and wanted to bump it to work with Next 16 and the latest Redux packages:

  • Fix app/api/counter/route.ts: drop the hand-written Context type (params: undefined) that fails type-checking on Next 15+, where params is a Promise
  • Bump react/react-dom and @types/react* to 19, @reduxjs/toolkit to ^2.12, react-redux to ^9.3, typescript to ^5 (matching create-next-app defaults)
  • Set moduleResolution to bundler and add .next/dev/types to include, as next build now requires

Thanks!

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 2e9f60b

@markerikson
markerikson force-pushed the examples/with-redux-rtk2-update branch from 2875ffe to 0141381 Compare October 6, 2026 18:34
- Fix app/api/counter/route.ts: drop the hand-written Context type (params: undefined) that fails type-checking on Next 15+, where params is a Promise
- Bump react/react-dom and @types/react* to 19, @reduxjs/toolkit to ^2.12, react-redux to ^9.3, typescript to ^5 (matching create-next-app defaults)
- Set moduleResolution to bundler and add .next/dev/types to include, as next build now requires
@markerikson
markerikson force-pushed the examples/with-redux-rtk2-update branch from 0141381 to 2e9f60b Compare October 6, 2026 19:34

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants