big-react
big-react copied to clipboard
跟着我,从0实现React18
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5. Release notes Sourced from word-wrap's releases. 1.2.5 Changes: Reverts default value for options.indent to two spaces ' '. Full Changelog: https://github.com/jonschlinkert/word-wrap/compare/1.2.4...1.2.5 1.2.4 What's Changed...
suspense/lazy
原代码中标记Fragment下需要被删除的元素时,没有考虑到Fragment嵌套的情况,会导致部分待删除元素被忽略,可用原代码运行如下组件进行复现: ``` function App() { const [num, setNum] = useState(0); return ( setNum((prevNum) => prevNum + 1)}> a b {num % 2 === 0 ? ( item-1 item-2 item-3 item-4...
当前项目应该是17版本之前的实现方式 17版本之后是 合成事件捕获 =》 原生事件捕获 =〉 原生事件冒泡 =》 合成事件冒泡。