Since its 2013 release, React has brought a new way to design UI components in the world wide web. The same fundamentals have been taken to another important environment in our contemporary world: the mobile applications. We'll see the philosophy behind React Native - learn once, write anywhere - and how this new framework helps developers to build native apps using React.
8. @matteomanchi
■ Web developer friendly
■ Native UI (vs WebView)
■ Live Reload (vs Compile&Wait)
■ Declarative UI (vs Imperative UI)
■ Multi-platform support (vs specific support)
■ Open Source
Why React Native?
9. @matteomanchi
Matteo Manchi
Full stack developer
React enthusiast
Co-founder of RomaJS
CEO at ImprontaAdvance
@matteomanchi
https://github.com/takeno
About Me
17. @matteomanchi
React is a JavaScript library for building user
interfaces.
■ Just the UI
■ One-way data flow
■ Virtual DOM
■ From Facebook
What is React?
18. @matteomanchi
■ Component: Everything is a component
■ Props: some data passed to child component
■ State: some internal data of a component
■ JSX: XML-like syntax helps to define component's
structure
■ Virtual DOM: tree of custom objects representing a port
of the DOM
Some keywords
23. @matteomanchi
Style
■ CSS-like declarations with camel-case properties
■ style props defined for all native components
■ It can be an array of styles
■ StyleSheet module to create multiple classes in one place
and cache them
It supports Flexbox!
32. @matteomanchi
Try it now!
■ git clone
https://github.com/facebook/
react-native.git
■ cd react-native
■ npm install
■ cd Examples/UIExplorer/
■ open UIExplorer.xcodeproj
■ Run
UIExplorer
36. @matteomanchi
React Native’s community is very active
■ 46k+ stars on Github
■ 6500+ issue solved
■ React Native Community on Github
React Native Ecosystem
37. @matteomanchi
React Native Ecosystem
■ UI Components
● native-base
● react-native-elements
● react-native-material-kit
● react-native-material-design
■ Navigation
● react-native-router-flux
● react-navigation
● native-navigation by AirBnB
● wix/react-native-navigation
Hundreds of packages published:
■ Native API
● react-native-maps by AirBnB
● react-native-camera
● react-native-onesignal
● code-push by Microsoft
38. @matteomanchi
Specific tools to help your development
■ Deco IDE
https://www.decosoftware.com
■ Sketch by expo.io
codepen-like playground for React Native
https://sketch.expo.io
■ Fastlane
Continuous deployment for mobile apps
https://sketch.expo.io/
■ Create React Native App
Starter pack inspired by create-react-app
https://github.com/react-community/create-react-native-app
React Native Ecosystem
46. @matteomanchi
We’re looking for
JS enthusiast
who wants to
have fun
with this cool technologies.
Contact me @matteomanchi
We’re hiring!
goo.gl/us55X3
More open positions: PHP Dev, Front-End Designer