Want Absolute Imports in React Native? Just Add a Little JSON

If you’ve spent any time working with React Native, you’ve probably run into a peculiar quirk where you’re seemingly forced to use relative imports in all of your source files. Things start to look a bit like this: import {Thing} from "../../../../core/thing"; import {Foo} from "../../foo"; It all quickly becomes unwieldy because it requires you […]

Setting Up Recurring Push Notifications in React Native

Recurring push notifications in React Native can be a useful tool to send messages to users on a regular schedule. Below is a step-by-step guide to adding this functionality to a React Native app. Note: this tutorial follows steps for react-native >= 0.60. For older versions of React Native, please refer to the individual libraries’ […]

Running a Static HTTP Server in React Native

One of my recent projects required us to make an existing web application work offline. Initially, we considered making a progressive web app. We quickly eliminated this option since PWAs have several limitations, most importantly storage size. Eventually, we decided to embed our web application into a WebView within a React Native application since we […]