Dan Montanari
Dan Montanari
I have added /* istanbul ignore next */ , but it doesn't work. here is my project: https://github.com/rikisamurai/swc-jest-issue. You can reproduce the issue by running the command ```pnpm test``` version:...
**Intended outcome:** success **Actual outcome:** Found the following incompatible libraries: mobx **How to reproduce the issue:** ```shell git clone https://github.com/rikisamurai/compiler-test.git npm i npx react-compiler-healthcheck ``` **Versions** 6.12.3
[CSS 不会阻塞 DOM 的解析](https://github.com/ljf0113/how-js-and-css-block-dom?tab=readme-ov-file#css-%E4%B8%8D%E4%BC%9A%E9%98%BB%E5%A1%9E-dom-%E7%9A%84%E8%A7%A3%E6%9E%90) > 打开浏览器,可以看到是首先打印出div这个DOM节点,过3s左右之后才渲染出一个浅蓝色的div。这就证明了CSS 是不会阻塞 DOM 的解析的,尽管CSS下载需要3s,但这个过程中,浏览器不会傻等着CSS下载完,而是会解析DOM的。 这个例子中表示会先打印出 div,但是实际上defer script会在整个HTML Document都parse之后再执行 复现代码(clone之后修改 `index.html`) ```html Title div { width: 100px; height: 100px; background: lightgreen; } ``` 不知道是不是浏览器这么多年更新了的原因,但我目前还没找到相关资料...