Release React-Redux 10.0 with ESM-only packaging

Open
#2,415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
react, typescript

Research direction

This is a multi-part release tracker, not a single fix, so start by reading the linked #2336 and reduxjs/redux-toolkit#5529 to see the ESM-only layout being copied. The checklist names the react-server and react-native conditions, the Symbol.for('react-redux-context') key, the alternate-renderers entry point, and useIsomorphicLayoutEffect. Done means each box is resolved, a contract test covers the context key and value shape, and the Metro fixture passes without react-native. Ask a maintainer before taking any single item.

Written by the indexing model from the issue text.

Description

Breaking Change Tooling

React-Redux 10.0 ships alongside RTK 3.0. It's mostly a packaging release, using the same ESM-only layout as RTK 3 (reduxjs/redux-toolkit#5529).

  • ESM-only packaging. Keep the react-server condition. Drop react-native once the Metro fixture passes without it.
  • Keep the Symbol.for('react-redux-context') key and the context value shape. A v9 hook under a v10 <Provider> crashes with "Cannot read properties of undefined (reading 'addNestedSub')" if either changes. Add a contract test for it.
  • Peer dependencies: react ^18 || ^19, redux ^5 || ^6 (optional)
  • Remove the alternate-renderers entry point (#2336)
  • Drop useIsomorphicLayoutEffect

Related: #2336, reduxjs/redux-toolkit#5495

Dominant language
TypeScript
Stars
23.4k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reduxjs/react-redux

All issues in reduxjs/react-redux

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.