React Native

React Native + Expo + Redux – _react.default.memo is not a function

As of early June 2019 using the latest version of Expo, I’m not able to use Redux as I’m getting this error memo is not a function when trying to use connect. Spoiler, it is because Expo is using a slightly behind forked version of React Native, thus, causing compatibility issues.

The quick fix would be to use an older version of react-redux package, the 6.0.0 version. Using the latest redux package seems to work just fine.

yarn add react-redux@6.0.0

That’s it!

Leave a reply

Your email address will not be published. Required fields are marked *