Creating a Minimal Expo React Native Project with TypeScript and Jest

This article shows the steps to create a minimal Expo project. The project uses TypeScript and Jest. Note that this procedure is based on Expo SDK31 and may be invalid in the future. Install Expo CLI As described in the official doc, let’s install the CLI tool. $ npm install -g expo-cli Note: I prefer using npx and I use npx in my project, but expo-cli depends on @expo/dev-tools which depends on old graphql....

December 1, 2018 · 4 min

Clean Expo (React Native) + React Apollo (GraphQL) + TypeScript boilerplate

Motivation Have you heard of React Native, GraphQL and TypeScript? I’m looking for a easy and nice tech stack to develop mobile apps. These three may fit nicely for developing mobile apps for beginners up to intermediates. More precisely, Expo is chosen for building React Native development environment, and React Apollo is for GraphQL. These libraries comes with type annotations, which allow us to code in TypeScript. By “Clean” I mean not only the boilerplate is minimalistic, but also we don’t allow “any” types....

October 20, 2018 · 2 min