question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:24 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
yelled3commented, May 25, 2015

@checkraiser thanks for link but your article is the same as the example I’ve included and does not address any of my questions 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integration with Existing Apps - React Native
With a few steps, you can add new React Native based features, screens, views, etc.
Read more >
Integrating React Native with existing Android and iOS native ...
Integrate a basic RN project (using redux pattern, navigating between multiple screens, fetch api…) to simple existing Android and iOS projects. Call native...
Read more >
Adding React Native to existing Apps - Eloy Durán - YouTube
How and why we choose to integrate React Native into our native app.
Read more >
10 tips to integrate react-native in an existing application
Here are few additional tips to improve your chance of success integrating react-native in an existing native application.
Read more >
How to Integrate React Native Web into React Native Apps
React Native is a framework created by Facebook to develop native iOS and Android applications. But what about the web? This is the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found