摘要:
网上都说操作真实 DOM 慢,但测试结果却比 React 更快,为什么? - 尤雨溪的回答 - 知乎 https://www.zhihu.com/question/31809713/answer/53544875 1. 原生 DOM 操作 vs. 通过框架封装操作。这是一个性能 vs. 可维护性的取 阅读全文
摘要:
3 assumptions Code is valid JavaScript Test values / properties are defined before acceessing them Code follows Rules of React React Compiler will mos 阅读全文
摘要:
How does React handle updates ? How React Communicates With the Renderer ? the renderer that handles the updates setState calls renderer The Update Wh 阅读全文
摘要:
React hooks allow us to use React features without writing a class state (useState, useReducer) component lifecycle (useEffect) much more(useRef, useC 阅读全文