react-redux: react-redux Provider error

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

  • React: 18.2.0
  • ReactDOM/React Native:
  • Redux: 4.2.1
  • React Redux: 8.1.1

What is the current behavior?

Im using React, React Redux, and Redux (not using toolkit) all are in latest versions.

import { Provider } from "react-redux";

Trying to run the application on Chrome 38 and encountering below error: Error in <Provider> - Check the render method of Provider. react-redux

PFA for the reference. MicrosoftTeams-image

It was working as expected with below versions React Redux 7.2.6 React: 17.0.2 Redux: 4.1.2

What is the expected behavior?

Should work seamlessly without any errors.

Which browser and OS are affected by this issue?

Chrome 38

Did this work in previous versions of React Redux?

  • Yes

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (8 by maintainers)

Most upvoted comments

This should be solved in v8.1.2.

Hi again, I tested your release and all works correct! I had to add this polyfills:

import "react-app-polyfill/ie9";
import "core-js/features/array/find";
import "core-js/features/array/includes";
import "core-js/features/number/is-nan";
import "core-js/features/object/get-own-property-descriptors";
import "core-js/features/object";

window.globalThis = window;

But I don’t know which ones exactly are needed only for redux (I use different libraries and unfortunately I don’t know which one needed what imports)

Thx for your work @phryneas, I didnt expected someone will fix this issue that quick (Its new for me, most of the time I wait months). Again thanks ❤️

@phryneas Proxy was a concern for me to support Chrome 38 on old TVs.

Thanks for this release.