Expo Template With Typescript, React Router & NativeBase
An alternative template to the default expo-template configured wiht yarn workspaces
and the following libraries:
-
react-router
instead of react-navigation, with utils for ease of usage -
NativeBase
as the base of all ui components including wrappers to handle Paragraphs and Tables easier and consistently -
eslint and prettier and madge
pre-configured with recommended standards -
jest
for unit testing
Pre-requisites
You should be running Node >=18 and yarn >=3
Usage
Start a new expo project referencing this template:
npx create-expo-app --template expo-template-reactrouter-nativebase
Install dependencies with yarn
cd my-app
yarn