10 2018 档案

摘要:1.查看registry 2.设置yarn registry 3.yarn 类似 npm i 功能 4.npm get 5.npm set 6.yarn 全局安装 阅读全文
posted @ 2018-10-30 00:04 Running00 阅读(136) 评论(0) 推荐(0) 编辑
摘要:1.mac 安装 brew install yarn 报错 Error: Failure while executing; `git config --local --replace-all homebrew.analyticsmessage true` exited with 1. 解决办法 在t 阅读全文
posted @ 2018-10-29 23:46 Running00 阅读(2218) 评论(0) 推荐(0) 编辑
摘要:1.react 官网文章 2.github地址 阅读全文
posted @ 2018-10-29 17:11 Running00 阅读(1946) 评论(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 阅读(131) 评论(0) 推荐(0) 编辑
摘要:函数式编程在Redux/React中的应用 React+Redux 性能优化实践 阅读全文
posted @ 2018-10-23 10:49 Running00 阅读(92) 评论(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 阅读(252) 评论(0) 推荐(0) 编辑
摘要:前端pdf 大全 阅读全文
posted @ 2018-10-19 14:22 Running00 阅读(155) 评论(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 阅读(156) 评论(0) 推荐(0) 编辑
摘要:yarn 不要一起用 npm 如果一起用,看下lock 的版本一样不,不一样可能会出现问题 阅读全文
posted @ 2018-10-12 13:42 Running00 阅读(4870) 评论(3) 推荐(1) 编辑
摘要:ecma 阅读全文
posted @ 2018-10-10 14:09 Running00 阅读(106) 评论(0) 推荐(0) 编辑
摘要:阿喀琉斯之踵 学习编程最好的办法就是编写代码 比较 隐式类型转换 数字和字符串 比较 字符串会隐式转换为数字,再进行比较 == 类型转换 ecma 阅读全文
posted @ 2018-10-09 14:01 Running00 阅读(160) 评论(0) 推荐(0) 编辑
摘要:vue 重新渲染 更新数据的频繁变化 后端mvc模式 数据驱动 阅读全文
posted @ 2018-10-08 20:28 Running00 阅读(85) 评论(0) 推荐(0) 编辑
摘要:npmyarn npm install yarn npm install react --save yarn add react npm uninstall react --save yarn remove react npm install react --save-dev yarn add re 阅读全文
posted @ 2018-10-08 07:33 Running00 阅读(106) 评论(0) 推荐(0) 编辑
摘要:1.查看某个文件是谁修改的,提交人,时间 git blame file_path 2.具体修改详情:git log -p file_path 3.查看基于那个分支: git 4.Git撤销 5.git stash 加入储藏 git stash list 查看所有储藏 git stash apply 阅读全文
posted @ 2018-10-08 06:55 Running00 阅读(95) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示