Skip to content

[Integration w/ Existing App] Multiple react-native Applications Design #1398

@yelled3

Description

@yelled3

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions