react-native-community / releases

React Native releases
https://github.com/facebook/react-native/
1.5k stars 405 forks source link

[Question] Can we safely use React 16.8.4 or higher with RN 0.59.4? #115

Closed lorenc-tomasz closed 5 years ago

lorenc-tomasz commented 5 years ago

Hi, we had long discussion within the team about it but without consensus. Maybe you can help?

Bardiamist commented 5 years ago

@lorenc-tomasz You can't safely use another version because it required sync commit from Facebook. Example for React 16.8.3: https://github.com/facebook/react-native/commit/d4ce8463a853a29cc977fcbf390b43940f521bd2 . This have many changes besides raising version.

lorenc-tomasz commented 5 years ago

Thanks. Sadly I was right as new react-redux requires at least 16.8.4

Bardiamist commented 5 years ago

@lorenc-tomasz I think you can use new react-redux. react-redux should download and use required dependencies (react 16.8.4) but react native will still use react from you'r package.json.

taylorkline commented 5 years ago

@lorenc-tomasz See: https://github.com/reduxjs/react-redux/pull/1242

react-redux will work with 16.8.3.