spencercarli / react-native-meteor-boilerplate

MIT License
628 stars 139 forks source link

Sharing code between the client and the server #67

Closed asafshen closed 7 years ago

asafshen commented 7 years ago

Is there any recommended way to share code between the client(RNApp) and the server(MeteorApp) ?

Maybe it is possible to access MeteorApp shared content (i.e. anything that is not in 'server' or 'private' directories) from RNApp?

Thanks

spencercarli commented 7 years ago

Unfortunately I haven't found a great pattern for it yet (though I haven't given it much effort). What kind of code are you looking to share?