Training

How to Handle Text API Response using Fetch in React Native

We get API response mostly in JSON format. It’s due to the simplicity and popularity of JSON. Sometimes, developers prefer to give API response in raw text. In this blog post, let’s check how to handle text response using Fetch in react native. React Native provides Fetch API for our networking needs. Fetch returns promise …

How to Handle Text API Response using Fetch in React Native Read More »

How to Capture Digital Signature in React Native

Nowadays, everything happens digitally. Sometimes, we may need to capture the signatures of users digitally for our applications. We can capture the signature in react native with the help of a third-party library named react native signature canvas. The react native signature canvas provides a canvas component where the user can put the signature. So, …

How to Capture Digital Signature in React Native Read More »

How to Add Scroll to Bottom Functionality to FlatList in React Native

Everyone knows the importance of FlatList component in react native apps. FlatList helps us to huge amount of data in the most user friendly way. In this blog post, let’s check how to add a scroll to bottom functionality to FlatList. If you are looking for how to add scroll to top option in flatlist …

How to Add Scroll to Bottom Functionality to FlatList in React Native Read More »

React Native API Call Example with Axios, Redux, and Hooks

In this blog post, let’s see how to do API calls using Axios, Redux, and Hooks in react native. As the importance of hooks and proper state management increases, making API calls with hooks and redux is a better way and can be helpful for large react native applications. Before starting out, please do install …

React Native API Call Example with Axios, Redux, and Hooks Read More »

How to Capitalize TextInput Component in React Native

TextInput is the component where the end user gives input. Sometimes, we may need to control how the values are inserted to the TextInput. Let’s check how to capitalize the text inserted through TextInput in react native. If you are looking for how to capitalize a Text component in react native then you can check …

How to Capitalize TextInput Component in React Native Read More »

How to Capitalize Text in React Native using Style

Sometimes, we need to show text in some specific case. There are already JavaScript functions such as toLowerCase and toUpperCase. But having a prop for changing cases or capitalize can make your work simpler. In this react native example, I am using a text style prop named textTransform for the case conversion and capitalization of …

How to Capitalize Text in React Native using Style Read More »

How to use useRef Hook in React Native Functional Component

Hooks are integral part of a functional component. The useRef hook is used to invoke methods on react native components. In this blog post, let’s check how to use useRef in react native. We have a TextInput component and a Pressable component. When we press the Pressable component, the text inside TextInput should be cleared …

How to use useRef Hook in React Native Functional Component Read More »