Top 4 open-source React Native UI libraries in 2024
Updated: Mar 06, 2024
React Native is an open-source mobile framework that helps you build Android and iOS apps using Javascript. First launched in 2015, React Native is thriving and used by many major apps like Facebook, Instagram, Walmart, Tesla,......
React Navigation: Dynamic header title (with hooks)
Updated: Feb 12, 2023
This article shows you how to dynamically update the header title of a screen in a React Native app. We will use React Native latest version, the useState hook, the useEffect hook, and the React Navigation library (version......
Using Switch component in React Native (with Hooks)
Updated: Feb 12, 2023
In React Native, Switch is a built-in controlled component that renders a boolean input. It lets a user turn on or off some functionalities or select between two options (you can see it in the Settings screen of many apps). This......
How to Get the Window Width & Height in React Native
Updated: Feb 12, 2023
This article shows you how to determine the window size (width and height of the current viewport) in React Native. Without any further ado (like talking about the history of React Native or Javascript), let’s move on to the things......
How to Get Platform Information in React Native
Updated: Feb 12, 2023
In this article, we will explore how to retrieve information about the platform your React Native is running on. This information includes OS, OS version, and many more helpful things. At first, we will have a look at the Platform API......
React Native: Make a Button with a Loading Indicator inside
Updated: Feb 12, 2023
This article walks you through a complete example of implementing a button with a loading indicator inside. We will write code from scratch with only the built-in components of React Native including TouchableOpacity,......
Using AsyncStorage in React Native: CRUD Example
Updated: Feb 12, 2023
In React Native, AsyncStorage is a great solution to locally save a small or medium amount of data on the user’s device like authentication information, app settings, etc. It’s worth noting that AsyncStorage only accepts......
Implementing a Date Time picker in React Native
Updated: Feb 12, 2023
In the old days, DatePickerIOS, DatePickerAndroid, and TimePickerAndroid components used to be used to create Date and Time pickers in React Native applications, but nowadays, these ones are deprecated. At the time of writing,......
[Solved] React Native Error: No bundle URL present
Updated: Feb 12, 2023
This article shows you a few solutions to fix the No Bundle URL Present error when working with React Native. The Problem When developing an iOS app with React Native, you might run into the following error: No bundle URL......
React Native: Opening a website URL with the default browser
Updated: Feb 12, 2023
In React Native, there is nothing similar to the <a> tag in HTML. In order to open a web link in a React Native app, we need to use the built-in Linking API. You can import Linking like this: import { Linking } from......
React Native: How to add shadow effects on Android
Updated: Feb 12, 2023
To add shadow effects on Android, you can use the elevation property: elevation: x (x is a number) You can control the color of the shadow by using the shadowColor property like this: shadowColor: 'blue' It is important to......
React Navigation: The Most Basic Example
Updated: Jan 08, 2023
The short, simple, beginner-friendly example below will help you understand how to use React Navigation 6 (the latest version of the library) in a React Native project, regardless you’re a fan of Expo or a loyal React Native CLI......
Page 1 of 4 Next →