Closed miracle2k closed 6 years ago
I agree, however this causes issues with the tests, hence travis is failing.
I think the nicest solution would be to add it as a dev dependency too? So npm
actually installs it
I see, makes sense.
In my case, I have a ./web directory next to ./ios where I have react-native-web with it's own react-dom copy. But I'll have to figure out how to solve this on my own then.
My setup is a bit unusual, but I ran into trouble due to two copies of react-dom. All three of them should be peer dependences, since react-native-mock shouldn't really use it's own copy.