Heaven

Results 24 comments of Heaven

@camsong 你好,请教下关于全局样式的问题。 引入全局样式的时候,比如上面提到的: ``` /* src/app.js */ import globalCss from './styles/app.scss'; ``` 这样会报错,因为eslint一般会设置变量定义了就必须使用,而这里globalCss是没有使用的,请问这个怎么解决好一点呢。 还有一点就是非驼峰命名的样式如果不用类似classnames这样的库该如何处理呢,或者说只能是按照他那样的逻辑,即调用一个工具函数传参然后返回一个字符串的方式吗

@slowcheetah @zloirock Hi, would you mind take a look at this? Thanks~

Hey guys, will the `css-calc-transform` be added to this repo?

CSS 阻塞 DOM 构建(有 js) 这个有办法测吗,感觉好像没办法,因为最多也就是 charles 把 css 挂起,这个时候页面没有渲染(Render Tree 没完成),但是这个无论 CSS 有没有阻塞 DOM Tree 构建都表现是这样

看了下,确实没有 js 的时候,即便 block 住 css 资源的请求,DOMContenLoaded 事件也还是 fire 了

哈哈,持续关注中,之前也写过一点 https://zhuanlan.zhihu.com/p/33825610 ,要看的资料太多了,唉

可以讲讲旅行相关的哈哈

https://github.com/gajus/babel-plugin-react-css-modules/blob/f3ccba1d182a465fe81bba9f1217ccc5e0ac08df/src/index.js#L109-L111 here we can add ``` if (stats.opts.debug) { // provide a new option debug console.log(`at ${filename} import:`); console.log(targetResourcePath); console.log(`the resource link we use is: ${path.node.source.value}`); } ``` https://github.com/gajus/babel-plugin-react-css-modules/blob/f3ccba1d182a465fe81bba9f1217ccc5e0ac08df/src/index.js#L134-L136 and...

@markerikson @plandem what's your thought about this :)