I was reading:
https://facebook.github.io/react-native/docs/embedded-app.html#add-rctrootview-to-container-view
and going over the mentioned example:
https://github.com/tjwudi/EmbededReactNativeExample
and I started thinking on having an hybrid application, where some of the features are pure native iOS and other features will each have it's own react-native app (e.i each have it's own RCTRootView)
this kind of design pattern is fairly common when building large web clientside applications.
e.g Marionette.Application: http://marionettejs.com/docs/v2.4.1/marionette.application.html
so a few key questions here are:
- does it makes sense to do so?
- is the current react-native design supports this separation?
- how really incapsulated is a single react-native app (
RCTRootView) from another? (will there be any conflicts due to singleton objects, etc...)
Thoughts?
I was reading:
https://facebook.github.io/react-native/docs/embedded-app.html#add-rctrootview-to-container-view
and going over the mentioned example:
https://github.com/tjwudi/EmbededReactNativeExample
and I started thinking on having an hybrid application, where some of the features are pure native iOS and other features will each have it's own react-native app (e.i each have it's own
RCTRootView)this kind of design pattern is fairly common when building large web clientside applications.
e.g
Marionette.Application: http://marionettejs.com/docs/v2.4.1/marionette.application.htmlso a few key questions here are:
RCTRootView) from another? (will there be any conflicts due to singleton objects, etc...)Thoughts?