Skip to main content

57 posts tagged with "Best Practices"

Our 'Best Practices' tag archive is a treasure trove of knowledge, featuring in-depth articles and tutorials on a range of topics.

View All Tags

React Native Hooks: A Complete Guide

· 9 min read
Full Stack Developer

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.

Optimize Onboarding Screens for Mobile Growth

· 7 min read
Full Stack Developer

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.

Avoid Notch and Safe Area Issues in React Native

· 5 min read
Full Stack Developer

Phones, tablets, and foldables have status bars, notches, camera cutouts, rounded corners, gesture home indicators, and navigation bars. A React Native screen that looks fine on one simulator can still hide content under system UI on another device.

The modern solution is react-native-safe-area-context. The older SafeAreaView exported from React Native core is deprecated and should not be the default choice for new work.

How to Clean a React Native Project Safely

· 7 min read
Full Stack Developer

full clean react native project

React Native projects collect several kinds of local state while you work: Metro cache, Watchman watches, node_modules, CocoaPods, Gradle build output, and Xcode DerivedData. Cleaning all of them at once can fix some painful build issues, but it can also create new problems if you delete lockfiles or update native dependencies accidentally.

This guide shows a safer cleanup order. Start with the smallest cache reset that matches the symptom, then move down the checklist only if the problem remains.

Practical product notes

Get the next useful guide

Occasional tutorials, product resources, and lessons from building and launching software.