Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

react-native+dvajs+antd-mobile-rn+react-navigation@5.x+axios+typescript

Notifications You must be signed in to change notification settings

waroyhz/fast_react_native

Repository files navigation

fast_react-native

基于 react-native+dvajs+antd-mobile-rn+react-navigation@5.x+axios+typescript 开发的通用react-native模板,方便快速开发

该项目基于本人之前仿写的一个生鲜 app,从中抽离基础部分作为模板方便新项目开发

功能

  • AuthLoginButton组件,可传入要跳转的页面routeName,统一登录跳转逻辑,登录之后才可访问。

  • 自定义NavigationBar,在routerConfig.ts 配置 header:none 后,再页面内可使用自定义导航,默认子页面全局导航

  • 使用dva-core dva-loading 管理全局状态以及loading 状态

  • 封装自定义滚动容易及下拉刷新交互CustomRefreshControl CustomFlatList

注意事项

在开发前,需要重命名 安卓 以及ios 包名

About

react-native+dvajs+antd-mobile-rn+react-navigation@5.x+axios+typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.5%
  • JavaScript 11.4%
  • Java 4.9%
  • Objective-C 3.1%
  • Ruby 2.7%
  • Starlark 0.4%

AltStyle によって変換されたページ (->オリジナル) /