5. - Not a webview
- Not a cross compiler
- Not a solution for “write once, run
everywhere”
What react native is not
6.
7. Advantages?
- Rapid development, reloadable with CMD+R
- Full option for debugging with your browser
- “Hot Load Code”
- Functional programming
- Re-usable code
- Easy to learn
9. - Call ‘RCT_EXPORT_MODULE();’ macro
- Export using ‘RCT_EXPORT_METHOD’
How to add your own stuff?
- Call it with MyClass.addEvent();
- React converts types automatically
10. How to add views?
- Use ‘RCT_EXPORT_VIEW_PROPERTY’ to
export view properties
- Implement ‘view’ method that returns UIView
11. What else?
- Amazing animation framework ‘Animated’
- Clojurescript already able to target iOS
- GraphQL like patterns soon be ready
- Focus shifts to user
- Sadly not available for android (yet)