Overview
react-native-dva-starter is a React Native starter project that is powered by dva and react-navigation. It provides a solid foundation for developing React Native applications by integrating the dva framework for state management and react-navigation for navigation. The starter also includes workarounds for known issues, making it a reliable choice for building React Native apps.
Features
- Powered by dva: The starter project is built on top of the dva framework, which provides a predictable state container for managing the state of the application.
- Integration with react-navigation: It integrates smoothly with react-navigation, the recommended navigation library for React Native.
- Router model: The starter project includes a router model that controls the default action flow of react-navigation, providing a workaround for known issues.
- Workarounds for missing features: The project includes workarounds for missing features in react-navigation, ensuring a smooth navigation experience for users.
Installation
To install react-native-dva-starter, follow these steps:
- Clone the repository:
git clone <repository-url>
- Install dependencies:
cd react-native-dva-starter
npm install
- Start the development server:
npm start
- Run the app on a simulator or device:
react-native run-android
or
react-native run-ios
Summary
react-native-dva-starter is a React Native starter project that combines the power of dva and react-navigation to provide a solid foundation for building React Native applications. It includes workarounds for known issues and provides seamless integration with react-navigation, making it an excellent choice for developers looking to jumpstart their React Native projects.