This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* React支持es6的class语法,但是在class中并没有一个很好的概念来对应mixin | |
* | |
* 我们也要考虑弱化mixin | |
* | |
* 那怎么做呢?使用高阶函数来解决这个问题 | |
* | |
* 但是有个难点还会是需要再想想,怎么把store的更新和react的render结合起来,做到透明 | |
* 比如 | |
*/ |
NewerOlder