https://github.com/chicio/react-native-multiple-rctrootview
An example project created for my blog post "React Native: use multiple RTCRootView instances in an existing iOS app"
https://github.com/chicio/react-native-multiple-rctrootview
rctrootview react react-native
Last synced: 11 months ago
JSON representation
An example project created for my blog post "React Native: use multiple RTCRootView instances in an existing iOS app"
- Host: GitHub
- URL: https://github.com/chicio/react-native-multiple-rctrootview
- Owner: chicio
- License: mit
- Created: 2017-12-08T20:41:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-24T15:08:09.000Z (over 2 years ago)
- Last Synced: 2025-04-23T15:21:28.975Z (about 1 year ago)
- Topics: rctrootview, react, react-native
- Language: Swift
- Homepage: https://www.fabrizioduroni.it/blog/
- Size: 73.2 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React Native Multiple RCTRootView
[](https://raw.githubusercontent.com/chicio/React-Native-Multiple-RCTRootView/master/LICENSE.md)
An example project in which I show how it is possible to use multiple instances of `RCTRootView` in an existing iOS app integrated with React Native. This example has been created for my blog post [React Native: use multiple RTCRootView instances in an existing iOS app](https://www.fabrizioduroni.it/2017/12/08/react-native-multiple-instance-rctrootview/ "React Native: use multiple RTCRootView instances in an existing iOS app").
### Description
This repository contains an example of an existing app in which React Native has been added and is used to show multiple RCTRootView to display different React Native components in different parts of the app. Below an article quote:
> If we want to start to use React Native in an existing app, it's really easy. We can have our first React
Native component live inside our app by just following the getting started tutorial for existing app. But what
happen if we need to use multiple react native component in different parts of your existing app :fearful:? In this
tutorial I will show you how you can use multiple instances of `RCTRootView` to show different React Native components
in different parts of your app.
Click [here](https://www.fabrizioduroni.it/2017/12/08/react-native-multiple-instance-rctrootview/ "React Native: use multiple RTCRootView instances in an existing iOS app") to read the post.