Add a debug check to `<Provider>` to throw a more detailed error when used in Next
Author: markeriksonCreated Nov 11, 2023Updated Jun 14, 2026
- Ref: https://github.com/reduxjs/redux-toolkit/issues/3842 and many others
I wonder if we could somehow do a debug check inside of <Provider> , check for the existence of useIsomorphicLayoutEffect, and throw a more informative error if it doesn't exist?
I know we added the "react-server" condition in v9 beta - not sure how these play together
Source: reduxjs/react-redux