Skip to content
/ RN-Expo-Starter Public template

React Native with Expo starter & boilerplate.

Notifications You must be signed in to change notification settings

qinsong77/RN-Expo-Starter

Repository files navigation

React-Native Expo Starter

Features

Step by steps

  1. pnpm dlx create-expo-stack rn-expo-starter for init commit
  2. Perfect project init setting
  3. Check the commit
  4. Utilize Shadcn/ui theme and components

How to update Expo and react-native

react-native rely on Expo, check the doc here: Upgrade Expo SDK

  1. bun install expo@latest or bun install expo@next
  2. bunx expo install --fix bunx = npx
  3. check the Changelog
  4. Check for any possible known issues: bunx expo-doctor@latest

Other choices

Chore

  • install ts-node just to support read TypeScript jest configuration.

todo

E2E test

test provider & mock

eg:

jest.mock('@react-navigation/native', () => {
  return {
    ...jest.requireActual('@react-navigation/native'),
    useNavigation: jest.fn(),
  }
})