- Tailwindcss by nativewind
- i18n
- Dark theme
- Jest & React Native Testing Librar
- authentication
- sign in, sign up
- process as guest
- protect route and action
pnpm dlx create-expo-stack rn-expo-starter
for init commit, base on create-expo-stack.- Perfect project init setting
- Check the commit
- Utilize shadcn/ui theme and components
react-native rely on Expo, check the doc here: Upgrade Expo SDK
bun install expo@latest
orbun install expo@next
bunx expo install --fix
(bunx
=npx
)- check the Changelog
- Check for any possible known issues:
bunx expo-doctor@latest
- style system and ui library tamagui
- react-native-ui-lib
build the UI components inspired by shadcn/ui, refer from:
- react-native-reusables Universal shadcn/ui for React Native featuring a focused collection of components - Crafted with NativeWind v4 and accessibility in mind.
- nativecn-ui
- Don't wrap your whole app in SafeAreaView, instead apply the styles to content inside your screens, from: reactnavigation-summary
- install
ts-node
just to support read TypeScript jest configuration.
- useProtectedAction test failed
- Github action
eg:
jest.mock('@react-navigation/native', () => {
return {
...jest.requireActual('@react-navigation/native'),
useNavigation: jest.fn(),
}
})