All Projects → nihgwu → React Native Dva Starter

nihgwu / React Native Dva Starter

a React Native starter powered by dva and react-navigation

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Dva Starter

Redux React Navigation Demos
React-Native + Redux + Redux-Persist + React Navigation ( Authentication Flow with Redux demos)
Stars: ✭ 151 (-76.3%)
Mutual labels:  starter, react-navigation
Dva Antd Mobile Starter
Get started with Dva.js and Ant Design mobile.
Stars: ✭ 115 (-81.95%)
Mutual labels:  starter, dva
umi-react-native
umi preset plugins for react-native
Stars: ✭ 54 (-91.52%)
Mutual labels:  react-navigation, dva
Typescript React Native Starter
A highly scalable foundation with a focus on best pratices and simplicity to start your React Native project in seconds.
Stars: ✭ 141 (-77.86%)
Mutual labels:  starter, react-navigation
react-native-dva
一个由react-native、react-navigation、dva搭建的简易架子
Stars: ✭ 29 (-95.45%)
Mutual labels:  react-navigation, dva
umi-dva-antd-mobile-starter
Get started with Umi3.js and Ant Design Mobile.
Stars: ✭ 21 (-96.7%)
Mutual labels:  starter, dva
umi-dva-antd-starter
Get started with Umi3.js and Ant Design.
Stars: ✭ 17 (-97.33%)
Mutual labels:  starter, dva
Edge
A Clojure application foundation from JUXT
Stars: ✭ 466 (-26.84%)
Mutual labels:  starter
Anchors
✅ Anchors 是一个基于图结构,支持同异步依赖任务初始化 Android 启动框架。其锚点提供 "勾住" 依赖的功能,能灵活解决初始化过程中复杂的同步问题。参考 alpha 并改进其部分细节, 更贴合 Android 启动的场景, 同时支持优化依赖初始化流程, 自动选择较优的路径进行初始化。
Stars: ✭ 542 (-14.91%)
Mutual labels:  starter
Asp Net Core Vue Starter
ASP.NET Core + Vue.js starter project
Stars: ✭ 436 (-31.55%)
Mutual labels:  starter
Umi Dva Antd Mobile
基于 umi + dva + antd-mobile 快速构建H5 APP 应用。
Stars: ✭ 427 (-32.97%)
Mutual labels:  dva
Gatsby Starter Tailwind
Gatsby starter styled with Tailwind CSS
Stars: ✭ 466 (-26.84%)
Mutual labels:  starter
React Navigation Header Buttons
Easily render header buttons for react-navigation.
Stars: ✭ 545 (-14.44%)
Mutual labels:  react-navigation
Dva Example User Dashboard
👲 👬 👨‍👩‍👧 👨‍👩‍👦‍👦
Stars: ✭ 446 (-29.98%)
Mutual labels:  dva
Ignite Bowser
Bowser is now re-integrated into Ignite CLI! Head to https://github.com/infinitered/ignite to check it out.
Stars: ✭ 586 (-8.01%)
Mutual labels:  react-navigation
React Native Template Rocketseat Basic
Template básica para aplicações React Native com a estrutura utilizada na Rocketseat 🚀
Stars: ✭ 431 (-32.34%)
Mutual labels:  react-navigation
Vue Typescript Dpapp Demo
🔥 Let's start with TypeScript
Stars: ✭ 613 (-3.77%)
Mutual labels:  starter
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (-9.26%)
Mutual labels:  starter
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (-20.09%)
Mutual labels:  starter
Antd Umi Sys
企业BI系统,数据可视化平台,主要技术:react、antd、umi、dva、es6、less等,与君共勉,互相学习,如果喜欢请start ⭐。
Stars: ✭ 503 (-21.04%)
Mutual labels:  dva

react-native-dva-starter

A React Native starter powered by dva and react-navigation

Start

npm install dva-native-cli -g
dvanative git app
cd app
react-native run-ios # or react-native run-android

Great thanks to @xuan45 for his cli tool dva-native-cli, check that project for more information.

Advance

The builtin router of dva (not react-router v4), doesn't support React Native, we have to integrate other router components, such as Navigator, ExperimentalNavigation, react-native-router-flux and react-navigation. Since the former two will be depreciated in flavor of react-navigation, which is also be recommended by official, so I choose it to be the navigator.

In this starter, I provide a router model to control the default action flow of react-navigation to workaround a known issue. If you don't need this, the integration will be much simpler, you can simply remove the router model and pass routerReducer to extraReducer of dva extraReducers: { router: routerReducer }. Read Redux Integration and dva's API for more information.

Also there is another workaround for a missing feature https://github.com/react-community/react-navigation/issues/232, so I use two StackNavigators to contain the screens with different transition animations, you can create you own transition animations via transitionConfig, see https://github.com/react-community/react-navigation/pull/99

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].