React Native starter kit - offline-first architecture proposal for iOS/Android application
Functionality are grouped by modules and can be easily scaled
Example application contains three different pages, navigation between them + loader and async tasks simulation
redux
- Flux implementationredux-thunk
- middleware for async stuffreact-native-router-flux
- simple, scalable, configurable router for React Nativeredux-persist
- stores redux state in ReactNativeAsyncStorage
commonStyles.js
stores all common styles to make it simplier to avoid duplication in presentational components- Implements offline-first approach - store redux state in ReactNative
AsyncStorage
- After Reload if user was authentificated - opens directly HomePage, otherwise LoginPage
- Tests setup with mocha + sinon + chai