HenrikJoreteg / redux-bundler-react

Bindings for redux-bundler to React
37 stars 5 forks source link

Library uses legacy contextTypes API #26

Open tyler-siskar opened 1 month ago

tyler-siskar commented 1 month ago

Hi, as a user of this library I've noticed recently the following console errors:

Warning connect(Component) uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.

I believe this is a result of this line Connect.contextTypes = CONTEXT_TYPES in /src/index.js. If possible could an updated version be pushed to resolve this?

Thank you!