摘要: 1.react 官网文章 2.github地址 阅读全文
posted @ 2018-10-29 17:11 Running00 阅读(1943) 评论(1) 推荐(0) 编辑
摘要: 1. 不能输入空格 2. 不能以root结尾 1) 这种写法有风险 这种 lookbehind javascript 不支持 Invalid regular expression: Invalid group 2) 这种写法不会出现问题 javascript not support lookbehi 阅读全文
posted @ 2018-10-25 16:39 Running00 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 函数式编程在Redux/React中的应用 React+Redux 性能优化实践 阅读全文
posted @ 2018-10-23 10:49 Running00 阅读(90) 评论(0) 推荐(0) 编辑
摘要: class Demo extends React.Component { click = (a) => (e) => { console.log('额鹅鹅鹅', a, e); } render() { return Hello, world! ; } } ReactDOM.render( , do... 阅读全文
posted @ 2018-10-19 17:11 Running00 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 前端pdf 大全 阅读全文
posted @ 2018-10-19 14:22 Running00 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1. npm 自己的registry 很慢 可以改用淘宝的 查看registry 的 配置 :npm config get registry npm info 包名 1) npm install 包名 npm install (npm install <package_name> [--save-p 阅读全文
posted @ 2018-10-19 10:15 Running00 阅读(155) 评论(0) 推荐(0) 编辑
摘要: yarn 不要一起用 npm 如果一起用,看下lock 的版本一样不,不一样可能会出现问题 阅读全文
posted @ 2018-10-12 13:42 Running00 阅读(4860) 评论(3) 推荐(1) 编辑
摘要: ecma 阅读全文
posted @ 2018-10-10 14:09 Running00 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 阿喀琉斯之踵 学习编程最好的办法就是编写代码 比较 隐式类型转换 数字和字符串 比较 字符串会隐式转换为数字,再进行比较 == 类型转换 ecma 阅读全文
posted @ 2018-10-09 14:01 Running00 阅读(159) 评论(0) 推荐(0) 编辑
摘要: vue 重新渲染 更新数据的频繁变化 后端mvc模式 数据驱动 阅读全文
posted @ 2018-10-08 20:28 Running00 阅读(84) 评论(0) 推荐(0) 编辑