mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 02:08:34 +08:00
Add concluding statement about React behind a UIView
This commit is contained in:
@@ -146,6 +146,8 @@ Now compile and run your app. You shall now see your React Native app running in
|
||||
|
||||

|
||||
|
||||
Live reload works from the simulator, too! You’ve got a simple React component totally encapsulated behind an Objective-C `UIView` subclass.
|
||||
|
||||
## Conclusion
|
||||
|
||||
So under the hood, when `RCTRootView` is initialized, it will try to download, parse and run the bundle file from React Native development server. All you need to do is to implement your own container view, add `RCTRootView` as its subclass. And then serve the bundle using React Native development server. Then, bravo!
|
||||
|
||||
Reference in New Issue
Block a user