https://www.devio.org/2016/07/23/React-Native应用部署-热更新-CodePush最新集成总结/ 集成: npm install -g code-push-cli code-push -v 向code-push服务器注册app code-push app a ...
分类:
其他好文 时间:
2020-02-28 12:04:00
阅读次数:
116
首先引入插件 yarn add react-native-tab-view 如果用的原生环境要安装另外几个插件 yarn add react-native-reanimated react-native-gesture-handler 如果用的expo要安装 expo install react-n ...
分类:
其他好文 时间:
2020-02-28 11:50:20
阅读次数:
122
学习链接: https://www.jianshu.com/p/514fe21b9914 学习链接:https://zhuanlan.zhihu.com/p/38030418 学习链接:https://medium.com/@baphemot/understanding react react 16 ...
分类:
其他好文 时间:
2020-02-28 01:41:33
阅读次数:
89
下面代码是组件源码: import React, {Component} from 'react' import {createPortal} from 'react-dom' import styles from './modal.css' export default class Modal e ...
分类:
其他好文 时间:
2020-02-28 01:32:26
阅读次数:
291
过渡动画使 UI 更富有表现力并且易于使用。如何使用 React 快速的实现一个 Transition 过渡动画组件? ...
分类:
其他好文 时间:
2020-02-28 01:20:38
阅读次数:
41
一、 reducer纯函数方便自动化测试 二、 ...
分类:
其他好文 时间:
2020-02-28 01:20:25
阅读次数:
48
实现效果如下: 当点击按钮的时候 对一个FormItem里的多个input/或者是input和select进行校验 select/input组件封装的组件如下field.js: import React from 'react'; import { Select, Input } from 'ant ...
分类:
其他好文 时间:
2020-02-27 18:52:27
阅读次数:
1130
React报错: 报错原因List.Item的Item写成了item,小写的i ...
分类:
其他好文 时间:
2020-02-27 01:15:53
阅读次数:
140
React的Redux相当于Vue的Vuex ...
分类:
其他好文 时间:
2020-02-26 23:15:20
阅读次数:
66
ui库 ant design mobile 移动端 ant design pc端 yarn add antd 安装这个第三方的插件 全局引入(不推荐): 路口文件:import 'antd/dist/antd.css'; 组件里: import { Button } from 'antd'; <Bu ...
分类:
其他好文 时间:
2020-02-26 23:09:04
阅读次数:
78