No Image

React Native – Hardware features (1)

January 6, 2021 hung-nb 0

How to take photo? Use react-native-camera or react-native-image-picker react-native-image-picker Class Usage How to browse photo library? Class Usage How to browse file? Use react-native-document-picker How […]

No Image

React Native – How to fix node_modules?

December 15, 2020 hung-nb 0

Use patch-packageeasier-react-native-upgrade-with-patch-packagesay-goodbye-to-old-fashioned-forks-thanks-to-the-patch-package Setup Install package Edit package.json > scripts Create patch Fix & save file in node_modules Create patch, a patches directory will be created From […]

No Image

React – Cheat sheet

November 7, 2020 hung-nb 0

Coding Keep components simple Create components as minimal as possible, few lines of code each, to avoid enormous states Separate side effects, business logic from […]

No Image

React Native – Error handler (2)

October 25, 2020 hung-nb 0

Bugsnag Issue createBoundary() undefined in Debug mode Install Bugsnag react-native/#installation Notify error for try/ catch Notify message with data and type (not for free plan(?))