AWS – All about setup
Create profile Run command line Open config file Profile is configured as below See profile detail Add private key If you do not have one, […]
Create profile Run command line Open config file Profile is configured as below See profile detail Add private key If you do not have one, […]
How to fix “Received number of calls: 0” when testing a class method? Ref: inner-functions-with-jest How to mock a class to return a function instead […]
iOS Open iOS project in XCode Create MyNativeModule.h Create MyNativeModule.m Android Open Android project in Android Studio Create MyNativeModule.java having native Android moduleJava Kotlin Create […]
How to create a singleton class/ object? or How to use getter/ setter in class?
Follow this instruction integration-with-existing-apps You may need to install “react”: “x.x.x” by yourself. It is recommened to create an example React Native AwesomeProject for reference. […]
How to view the detail of a package? How to check why a package exists in the project? How to set a registry for npm/ […]
How to use useCallback? Use useCallback to save a function unless dependencies are changed By using useCallback, you can prevent unnecessarily re-rendering components by returning […]
1. Download font files Source+Sans+Pro 2. Place your font files into your project 3. Create react-native.config.js 4. Link font files react-native >= 0.69 react-native < […]
How to make image pressable? How to avoid keyboard pushing layout up on Android? Before After Hide Status Bar How to pass styled-component to component […]
Solution 1 Solution 2 Install dependencies Configure metro to transform svg file to jsx Create metro.config.js Usage Fill color for svg file (optional) Foe example, […]
Copyright © 2024 | WordPress Theme by MH Themes