mirror of
https://github.com/KieSun/all-of-frontend.git
synced 2024-11-25 16:28:13 +08:00
commit
378d76f3bc
14
README.md
14
README.md
@ -214,6 +214,20 @@ JavaScrip 在变量被创建时分配内存,并在对象不再使用时自动
|
|||||||
- [ ] [GC in v8](https://github.com/lrlna/sketchin/blob/master/guides/garbage-collection-in-v8.md)
|
- [ ] [GC in v8](https://github.com/lrlna/sketchin/blob/master/guides/garbage-collection-in-v8.md)
|
||||||
- [ ] [JavaScript 工作原理:内存管理 + 处理常见的 4 种内存泄漏](https://blog.sessionstack.com/how-javascript-works-memory-management-how-to-handle-4-common-memory-leaks-3f28b94cfbec),另有[中文版](https://juejin.cn/post/6844903519078580238)
|
- [ ] [JavaScript 工作原理:内存管理 + 处理常见的 4 种内存泄漏](https://blog.sessionstack.com/how-javascript-works-memory-management-how-to-handle-4-common-memory-leaks-3f28b94cfbec),另有[中文版](https://juejin.cn/post/6844903519078580238)
|
||||||
|
|
||||||
|
## React
|
||||||
|
|
||||||
|
### 合成事件
|
||||||
|
|
||||||
|
合成事件(SyntheticEvent)是 React 模拟原生 DOM 事件所有能力的一个事件对象,即浏览器原生事件的跨浏览器包装器。React 根据 [W3C规范](https://www.w3.org/TR/DOM-Level-3-Events/) 定义了合成事件。需要注意的是 v16 和 17 版本中的合成事件有差异。
|
||||||
|
|
||||||
|
- [ ] 文档
|
||||||
|
- [ ] [React官方文档](https://reactjs.org/docs/events.html)
|
||||||
|
- [ ] 推荐文章
|
||||||
|
- [ ] [探索 React 合成事件](https://segmentfault.com/a/1190000038251163)
|
||||||
|
- [ ] [大佬,怎么办?升级React17,Toast组件不能用了](https://zhuanlan.zhihu.com/p/380941094)
|
||||||
|
- [ ] [What’s the Difference Between Synthetic React Events and JavaScript Events?](https://betterprogramming.pub/whats-the-difference-between-synthetic-react-events-and-javascript-events-ba7dbc742294),需自备梯子
|
||||||
|
- [ ] [React 17 removes event pooling in the modern browsers](https://blog.saeloun.com/2021/04/06/react-17-removes-event-pooling-in-modern-system.html)
|
||||||
|
|
||||||
## 跨端框架
|
## 跨端框架
|
||||||
|
|
||||||
跨端的最主要的含义就是一套代码多端运行,减少重复劳动
|
跨端的最主要的含义就是一套代码多端运行,减少重复劳动
|
||||||
|
Loading…
Reference in New Issue
Block a user