Yifan Wang

Results comments of Yifan Wang

According to @aaronjensen he probably don't want to duplicate another react layer. But everyone in this thread compliment rjsx-mode quite a lot, and feels web-mode and react-mode quite buggy. Any...

Imo "connected" and "unconnected" would be better, in fact I could write as follow: ``` javascript const MyComp = ({ myProp, myAction }) => { myProp } Click Me export...

I encountered a similar use case that the empty line workaround doesn't work. I'm trying to build something similar to this document [tufte-css](https://edwardtufte.github.io/tufte-css/) There are several block behavior in this...

以前多次看见过哑组件这种说法(非react相关)。不过个人感觉傀儡组件更容易理解些。 一般服务器有master slave之分。但是觉得翻译成主/从组件并不突出。 如果从实际含义来说应该是抽象组件和纯视图组件。而且irc里面看到有人会搞混抽象组件和高阶组件(用于composition)。 总得来说,还是觉得傀儡最容易理解。 但是这里要提出一点是我认为原作者把smart和dumb相对肯定没太多考虑木偶/傀儡这个义项,而是smart ass和dumb ass……其实是智能组件和傻瓜组件。 楼上反对智能的说法。其实作者的smart指的是它知道redux,而dumb对此一无所知,只知道smart component。