Skip to content

Instantly share code, notes, and snippets.

@mksglu
Last active March 18, 2023 17:58
Show Gist options
  • Save mksglu/aca22b90d33df58ca9c394a3ee15e83e to your computer and use it in GitHub Desktop.
Save mksglu/aca22b90d33df58ca9c394a3ee15e83e to your computer and use it in GitHub Desktop.
Separation of concerns with feature based architecture folder structure- React Native and Expo - Zustand, React Query, Immer, MSW, RTL, Styled Components, React Navigation
- assets
- fonts
- images
- navigations
- PrivateNavigator.ts
- PublicNavigator.ts
- RootNavigator.ts
- components
- Button
- Button.ts
- Button.styled.ts
- __tests__
- Button.test.ts
- features
- Authentication
- services
- queries.ts
- api.ts
- mocks
- api.ts
- models
- authentication.ts
- helpers
- isLogges.ts
- constants
- endpoints.ts
- routes.ts
- screens
- Private
- Home
- Home.ts
- Home.styled.ts
- hooks
- __tests__
- useHome.test.ts
- Public
- Authentication
- Authentication.ts
- Authentication.styled.ts
- hooks
- __tests__
- useAuthentication.test.ts
- libs
- queryClient.ts
- hooks
- useRefresh.ts
- mocks
- handler.ts
- server.ts
- store
- theme
ThemeSlice.ts
- store.ts
- config
- axios.ts
- utils
- test-utils
- react-testing-library.ts
- react-query.ts
- isIphoneX.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment