-
-
Save balinux/51811565dda15703197a5075f4792ef0 to your computer and use it in GitHub Desktop.
kumpulan tips react native |
export multiple function react native
https://www.youtube.com/watch?v=qPkRIgwOx1M
react native splashScreen
- package yang digunakan : https://github.com/crazycodeboy/react-native-splash-screen
- tutorial cara menggunakan di youtube : https://www.youtube.com/watch?v=yFrx8HZlNtI
- tutorial cara menggunakan di medium : https://medium.com/handlebar-labs/how-to-add-a-splash-screen-to-a-react-native-app-ios-and-android-30a3cec835ae
contoh auth flow
https://snack.expo.io/@react-navigation/auth-flow-v3
react native image overflow hidden
untuk meyembunyikan image dibalik container
https://github.com/react-native-training/react-native-elements/issues/884
#pengalaman menggunakan RN FIrebase
- repo https://github.com/rohitmodi12/firebasePushnotificaiton
- video tutorial rnFirebase : https://www.youtube.com/watch?v=nHvw1mcaOs0
- video tutorial server push notification firebase : https://www.youtube.com/watch?v=6uZ7Fw8AVlk
- push server : http://pushtry.com/
membuat shadow effet di react native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 4,
},
shadowOpacity: 0.30,
shadowRadius: 4.65,elevation: 8,
link generator : https://ethercreative.github.io/react-native-shadow-generator/
Transparent header background
headerTransparent: true
"cara handle tombol back"
https://reactnavigation.org/docs/en/custom-android-back-button-handling.html
dokumentasi dan link belajar React native beserta contohnya
React native Map
catatan : setelah release app aplikasi juga membutuhkan Sidik jari sertifikat SHA-1 dari playstore di bagian Sertifikat penandatanganan aplikasi
infinite scroll react hook
run emulator form CLI
move to dir C:\Users\USDI_RIO\AppData\Local\Android\Sdk\emulator
List Emulator
emulator -list-avds
Run Emulator
emulator -avd @name of emulator
add to windows path (optional)
- go to environment variables
- clint environment variables
- system variables clict path variables
- new and paste ``C:\Users\USDI_RIO\AppData\Local\Android\Sdk\emulator`
Updating an object with setState in React
link : https://stackoverflow.com/questions/43638938/updating-an-object-with-setstate-in-react