![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
react
Lux Lin
这个作者很懒,什么都没留下…
展开
-
React-connect用法
redux connect方法下的前端业务逻辑实现原创 2022-01-30 18:09:36 · 6366 阅读 · 1 评论 -
虚拟dom
优点:1.可以把业务数据抽离出去统一管理,提升性能2.使得跨段应用得以实现,react native原创 2022-01-30 16:41:55 · 288 阅读 · 0 评论 -
React_day04_react路由配置与组件间通信_新闻网站构建
1.版本兼容相关问题又是一次实际上手和教程版本不一致的采坑过程,前后也废了不少周折。实际开发时React17,react-dom-router 6.x, antd 4.x教程版本React16,react-dom-router 5.x, antd 3.x一开始是想安装新版本一点点解决bug的,可是太耗时最终还是选择了降低版本,在package.json里修改相关版本号后terminal中重新npm install也还是总结下相关的坑(1)路由相关兼容问题react-dom-router 5.x原创 2021-11-17 16:53:43 · 314 阅读 · 0 评论 -
React学习笔记day01_react组件及jsx语法(React事件处理函数为什么要bind绑定this)
1.基本模板import React,{Component} from 'react'class TodoList extends Component{ constructor(props){ super(props) this.state = { inputValue : '', list : [] } }render(){<span>lux </span>}}export原创 2021-10-29 23:21:11 · 158 阅读 · 0 评论