Why debounce with react hooks? We all come across that one button users keep on pressing until the data is loaded. Without guarding your code with every sort of if conditions, you can guard this by debouncing. For multiple tap scenarios, you can either propagate the event at the first tap/click or the last one.Read more “Avoid multiple clicks using debounce with react hooks”
When you are building your react native Android app, you may encounter the error: heap limit Allocation failed.
Read more “Android/iOS React-native heap limit allocation failed error”
This was an issue that was occurring after the migrating with new Androidx migration. The root cause was the
android.support.v4.content.FileProvider was not provided in the latest android support library.
To debug this error you will have to see the
adb log with the command
Read more “AndroidX ClassNotFound Exception: “android.support. v4.content .FileProvider””
If you are new to firebase and FCM this article will be useful to setup FCM Push Notification with React Native application. We will be using react-native-firebase(doc: https://rnfirebase.io/docs/v5.x.x/getting-started) module to retrieve token for the push notifications.
First, create the Firebase account and download the
google-services.json file from the console.
- Access your firebase account and go to the project settings from the top gear icon.
Read more “How to setup FCM Push Notification with React Native App”