Skip to content

Instantly share code, notes, and snippets.

View hufeng's full-sized avatar
🎯
Focusing coding

胡锋 hufeng

🎯
Focusing coding
View GitHub Profile
/**
* React支持es6的class语法,但是在class中并没有一个很好的概念来对应mixin
*
* 我们也要考虑弱化mixin
*
* 那怎么做呢?使用高阶函数来解决这个问题
*
* 但是有个难点还会是需要再想想,怎么把store的更新和react的render结合起来,做到透明
* 比如
*/