Skip to main content

20 posts tagged with "Best Practices"

Articles about development best practices

View All Tags

React Native GraphQL with Apollo Client

· 11 min read
Full Stack Developer
Last updated on July 23, 2022

React Native GraphQL Apollo

Are you interested in building a React Native app that uses GraphQL API endpoints? Then you should read this tutorial. You are going to learn how to leverage Apollo to build a client-side GraphQL application with React Native and Expo. Apollo has an entire ecosystem to build GraphQL applications. You can use it to develop client-side and server-side apps separately. Apollo has more features and support than its open-source competitors in GraphQL for JavaScript world.

Building Offline-First React Native Apps

· 9 min read
Full Stack Developer
Last updated on February 20, 2022

The Async Storage is a simple key-value pair based storage system in React Native. It is used for scenarios where you want to save the user’s data on the device itself instead of using any cloud service, such as building offline apps. According to the React Native’s official documentation:

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

Implementing Dark Mode in React Native

· 8 min read
Full Stack Developer
Last updated on February 15, 2022

react native dark mode

In this tutorial, we are taking a look at how to detect and support dark mode in React Native apps. You are going to build a small demo app that sets its appearance based on the platform OS. The platform OS will have two theme modes, dark or light. By default, when the app will start, it is going to have the theme based on the platform OS but the user is going have an option to toggle between the themes.

React Native Hooks: A Complete Guide

· 9 min read
Full Stack Developer
Last updated on February 4, 2022

react hooks

In this tutorial, we are going to give a quick introduction to React Native hooks. Hooks in React are available since the version 16.7.0-alpha. These functions allow us to use React state and a component’s lifecycle methods in a functional component. If you are familiar with React, you know that the functional component has been called as a functional stateless component. Not any more.

How to Improve Perceived Performance in Mobile Apps

· 14 min read
Full Stack Developer
Last updated on October 4, 2022

perceived performance mobile

Mobile apps must be snappy and playful. To fall in love with your mobile app, users need to perceive it as fast, responsive and bug-free. Perceived performance measures how fast a user thinks your mobile app is. Fortunately, there are several standard techniques that we can apply to our UI/UX, in order to improve the perceived performance of mobile apps significantly.

Optimize Onboarding Screens for Mobile Growth

· 7 min read
Full Stack Developer
Last updated on December 6, 2021

Entrepreneurs, designers, and developers tend to separate Growth aspects from the mobile app development process. They are usually perceived as completely different focus areas. After all, what does marketing have to do with app development, right? Because of this, many startups fall into the trap of building onboarding screens that are so beautiful it blows the user’s mind, but they are not optimized for Growth, hence don’t convert well.

Optional Imports in React Native

· 2 min read
Full Stack Developer
Last updated on August 23, 2021

Optional imports support has been added recently in React Native.This feature requires no external library and is relatively easy to implement even with its enormous advantage to the overall code quality of your code. The major use-case of this feature is backwards compatibility which we will look right into next.

optional imports

Avoid Notch Issues in React Native

· 4 min read
Full Stack Developer
Last updated on June 19, 2021

“The notch” has been introduced by Apple a few years ago, with the launch of iPhone X. For iOS developers, this introduced more work on the day to day layout efforts, as it added an extra set of device types. On most devices that have a notch, regular views do not display well and they block out a considerable part of the top of the screen. Let’s see how we can avoid the notch in React Native projects, with the help of SaveAreaView, a component that’s built into the React Native core.

Full Clean React Native Project Setup

· 4 min read
Full Stack Developer
Last updated on April 11, 2021

full clean react native project

At Instamobile, we provide fully functional React Native codebases, that serve as the infrastructure groundwork for developers who build mobile apps. Every day, we meet customers who need to fully clean their React Native projects, in order to properly build newer versions of the projects. In this short article, we are going to show you what instructions you must run in order to fully clean your React Native project environment.

React Native Redux Integration

· 24 min read
Full Stack Developer
Last updated on February 24, 2020

redux hooks

Redux is a popular React and React Native state management library, meant to be used in complex React and React Native apps where sharing state between multi-level components can get extremely difficult to manage. In this article we are going to learn how to use Redux with React Hooks by building a real React Native app.