12 2018 档案
摘要:chap4 开发服务器和热替换 在指定端口提供服务,配合热替换可以自动监控代码变动,重新加载修改的模块,不用刷新浏览器,可以保存原有状态 。。。。 chap5 JSX 1.常用语法 自定义标签首字母大写,自定义属性加data-,class--className for--htmlFor 2.html
阅读全文
摘要:chap3 run in chrome 执行顺序 工程根目录,npm install,npm run build,npm start 1.APP使用前面编写的 2.render in chrome 使用 react-dom 中的 render方法 render(<App />,document.qu
阅读全文
摘要:chap1 1.react 声明式,组件方法改变界面,diff局部刷新无绑定,可作为V层与其他技术栈搭配 2.redux js容器 状态管理 单一数据源state被存在对象树中,state只能通过setstate方法改变,纯函数更新state 3.前后端采用统一的Universal渲染,加载速度快,
阅读全文