1.导航
react-navigation
安装:
yarn add react-navigation
or
npm install --save react-navigation
2.NativeBase
安装:
npm install native
-
base
--
save
react
-
native link
npm install @expo
/
vector
-
icons
--
save
3.redux(框架)
备注:这个的使用需要学习。
安装:(其中的
navigation是导航就是上面的第一条)
npm install --save redux
npm install --save react-redux
npm install --save react-navigation
npm install --save redux-thunk
4.刷新
- If on react-native < 0.43: yarn add react-native-ultimate-listview@3.0.2
- If on react-native >= 0.43 yarn add react-native-ultimate-listview@latest
5.buffer 临时用它加密
github:
https://github.com/feross/buffer
npm install buffer
6.轮播图
npm i react-native-swiper --save
7.输入法遮盖住了输入框解决方案
react-native-keyboard-aware-scroll-view
安装:
npm i react-native-keyboard-aware-scroll-view --save
or
yarn add react-native-keyboard-aware-scroll-view
8.toast
npm install react-native-root-toast
9.持久化存储
npm install react-native-storage --save
10.启动页
npm i react-native-splash-screen --save
11.buffer
npm install buffer --save
12.时间处理
moment
npm install moment --save
13.阿里蚂蚁金服组件库
npm
install
antd-mobile --save