react-native-web icon indicating copy to clipboard operation
react-native-web copied to clipboard

Support for react-native .57

Open alexleone opened this issue 8 years ago • 9 comments

Is your feature request related to a problem? Please describe. Yes, the react-native-web library breaks when using react-native .57.

Describe a solution you'd like The library to work with the latest react-native.

Describe alternatives you've considered Trying to help contribute to this project to support the effort for making it work with react-native .57.

alexleone avatar Oct 11 '18 17:10 alexleone

Yeah I don't think I need an issue to track this. But explaining details is more helpful than "it breaks"

necolas avatar Oct 11 '18 18:10 necolas

Hey @alexleone, what issues did you have with targeting React Native 0.57? I was able to get this working tonight without too much work, perhaps my second commit on this repo will help? https://github.com/AaronFriel/react-native-web-ts-starter

AaronFriel avatar Oct 16 '18 06:10 AaronFriel

I hook here instead of opening another useless issue. Is there any roadmap to know the priorities of the development?

@necolas I am developing a cross platform UI and would like to stick to the latest expo version, so the latest RN version. The readme states that the actual compatible version is 0.55. Is it the minimum requirements or a fixed dependency version?

Thx.

dagatsoin avatar Oct 22 '18 09:10 dagatsoin

I attempted to upgrade to RN 0.56/0.57 but hit issues with jest/enzyme no longer working correctly for web tests.

One example I remember is that all RN components like View, Text, etc. in snapshot tests changed to all be Component instead.

jstheoriginal avatar Oct 22 '18 18:10 jstheoriginal

Ok, so it seems that RNW takes the RN version as a strict version dependency. As this plugin is so popular, would not be possible to write a contribution guide for updating monthly to the next version ?

dagatsoin avatar Oct 25 '18 09:10 dagatsoin

It's not a strict dependency, as you can see there is no direct dependency on RN. Stuff that was introduced in RN >0.55 won't work. And the changes internally are quite large at the moment

necolas avatar Oct 25 '18 13:10 necolas

Thx for the precisions :)

dagatsoin avatar Oct 26 '18 08:10 dagatsoin

Hopely it will support 0.57 later. most of new projects are using the latest version of RN.

ggdegreat avatar Oct 30 '18 00:10 ggdegreat

#1172

necolas avatar Nov 12 '18 21:11 necolas