06 2019 档案
摘要:原因是 而不是from ‘react-thunk’
阅读全文
摘要:1.npm i swiper 2.css: import 'swiper.min.css' 3. 4.js
阅读全文
摘要:父组件: 父传子:父:<Child name={...对象}/> 子:this.props.name 子组件: 子传父:父:<Child onHandleChild="函数"/> 父组件=>函数(参数){ } 子:this.props.onHandleChild(传值) //在子组件中执行这个函数,
阅读全文
摘要:1.函数式定义无状态组件 2.es6形式React.Component定义组件 3.es5 React.createClass定义组件 2.es6形式React.Component定义组件 3.es5 React.createClass定义组件
阅读全文

浙公网安备 33010602011771号