世界上最伟大的投资就是投资自己的教育

新的开始:https://github.com/hfpp2012copy/antd-ts-admin

全场限时 5 折

 2019-03-16

  • lijunshuang · 凡人
    lijunshuang · 凡人 在视频 Redux 入门教程 #5 单独使用 Redux 回复了

    const increase = () => {
    store.dispatch({
    type: "INCREASE"
    });
    };
    const decrease = () => {
    store.dispatch({
    type:"DECREASE"
    })
    }
    const render = () => {
    ReactDOM.render(
    ,
    document.getElementById("root")
    );
    };
    这样写就明白了吧? 定义两个函数,然后通过自定义属性传给组件~

 2019-03-15

 2019-03-14

 2019-03-13

© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索

粤公网安备 44152102000088号粤公网安备 44152102000088号 | 粤ICP备19038915号

Top