文章分类 -  React

Building Editors in React Applications
摘要:https://medium.com/@karanjariwala/building-editors-in-react-applications-82f7bd22e26c What to Select Draft Js vs Slate Js Vs Existing WSYWIG Editor Fr 阅读全文
posted @ 2021-09-01 16:20 bowen_tong
Immutability in React: There’s nothing wrong with mutating objects
摘要:https://blog.logrocket.com/immutability-in-react-ebe55253a1cc/ Esteban Herrera FollowFamily man. Java and JavaScript developer. Swift and VR/AR hobbyi 阅读全文
posted @ 2021-08-11 12:43 bowen_tong
[译]React函数组件和类组件的差异
摘要:https://juejin.cn/post/6844903825220829198 [译]React函数组件和类组件的差异 原文: overreacted.io/how-are-fun… 在 React.js 开发中,函数组件(function component) 和 类组件(class com 阅读全文
posted @ 2020-12-14 11:46 bowen_tong 阅读(348) 评论(0) 推荐(0)
componentDidMount called BEFORE ref callback
摘要:https://stackoverflow.com/questions/44074747/componentdidmount-called-before-ref-callback 35 Problem I'm setting a react ref using an inline function 阅读全文
posted @ 2020-12-04 18:21 bowen_tong
在React的componentDidUpdate阶段,浏览器的渲染工作并没有结束
摘要:https://blog.csdn.net/huangpin815/article/details/80023480 1 一个深坑 4月第一文。 最近在React实践之中踩了很多深坑。先说下面这个深坑: Liftcycle componentDidUpdate of React.js is not 阅读全文
posted @ 2020-09-16 11:11 bowen_tong
函数式编程在Redux/React中的应用
摘要:https://tech.meituan.com/2017/10/12/functional-programming-in-redux.html 2017年10月12日 作者: 增迪 文章链接 11251字 23分钟阅读 本文简述了软件复杂度问题及应对策略:抽象和组合;展示了抽象和组合在函数式编程中 阅读全文
posted @ 2020-07-25 22:35 bowen_tong 阅读(129) 评论(0) 推荐(0)