react-everywhere / re-start

react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
https://medium.com/@amoghbanta/write-once-use-everywhere-with-react-native-d6e575efe58e#.nfl50gwfg
MIT License
1.3k stars 85 forks source link

Remove duplicate routes declaration. Import common component. #59

Open hasparus opened 6 years ago

hasparus commented 6 years ago

Example solution for #58. Makes code DRier :)

piranna commented 6 years ago

I have been working on a more in-depth solution, and for example templates/re-start/App.js is not used anymore, just only templates/re-start/src/index.js instead of Main. Could you be able to change the names according to this?

piranna commented 6 years ago

I have finished the pull-request for my refactor, if you want to take it a look.