React Native in a Nutshell
CS498RK
React Native in a Nutshell CS498RK Who Am I? Im Sujay, a full - - PowerPoint PPT Presentation
React Native in a Nutshell CS498RK Who Am I? Im Sujay, a full stack engineer at Samsara UIUC CS Bachelors and Masters 2018 Working with Professor Kumars research group from 2014 to the end of time Where Do I Work? Some Details
CS498RK
Who Am I?
I’m Sujay, a full stack engineer at Samsara UIUC CS Bachelor’s and Master’s 2018 Working with Professor Kumar’s research group from 2014 to the end of time
Where Do I Work?
Some Details
Our stack
($6 Billion Valuation)
Atlanta, London
We use React Native!
Let’s Talk Mobile
mobile in the world
smartphone
in Swift and Java for iOS and Android
Native Mobile Dev
https://code.fb.com/android/react-native-bringing-modern-web-techniques-to-mobile/
Advantages
Disadvantages
language
Using WebViews
Enter React Native
Who Uses React Native?
React
https://facebook.github.io/react-native/
React
<div> === <View> <span> === <Text>
https://facebook.github.io/react-native/
Styling
Inline:
“Classes”
What’s best practice?
Flexbox!
flexDirection, alignItems, justifyContent, etc
Let’s Get Started
Choose your own adventure Expo CLI Quickstart
React Native CLI Quickstart
More Info: https://facebook.github.io/react-native/docs/getting-started
Expo is Magical
https://expo.io/
My Preferred Editor & Environment
CLI: React Native CLI Editor of Choice: VSCode (lots of nice plugins out of the box) OS: Mac App: iOS
Development in React Native
Handling Text Input
third of the screen
Difgerences between iOS & Android
Touchable Areas
Clicking is different from touching a screen!
Follow Native UI Guidelines
Try to use your app on an actual device! iOS: https://developer.apple.com/design/human-interface-guidelines/ios/overview/them es/ Android: https://material.io/
Understand Native App Modules
dependencies through XCode and Android Studio
React Native Limitations
Redux
https://redux.js.org/
React Navigation
Manage screen transitions between your app
https://reactnavigation.org/
React Native Docs
https://facebook.github.io/react-native/docs/getting-started
Awesome React Native
http://www.awesome-react-native.com/
https://github.com/facebook/flipper
Opico
Try it at:
Want to dev on it? Talk to Ranjitha
Say Hi!
Twitter: @sujaykhandekar Github: sskhandek My Website: sujay.io Email: sujay@samsara.com