DEV Community

Discussion on: Tutorial: How to share code between iOS, Android & Web using React Native, react-native-web and monorepo

Collapse
 
rgfretes profile image
Ricardo German Fretes

Hi, I have a question that I cannot grasp , where is the rule that allows to have different environments files? .web , .android , .ios, .native , etc and being selected auto-magically ?

Collapse
 
brunolemos profile image
Bruno Lemos

This is handled by react-native and create-react-app.

Collapse
 
rgfretes profile image
Ricardo German Fretes

oh sorry, My bad !
I've just found it :
facebook.github.io/react-native/do...

thanks for the quick response :)