zllc
zllc
i have wrote a tree component. a parent node, has 500 child node in a array. When the parent node update, each child node's shouldComponentUpdate compute sync. (each cost 2ms,...
是等待所有请求执行完再重启?
when I use nerdtree and godef, I type gd gotto the definition of a func, when I want go back. I type :b1, I got the error E86: Buffer 1...
比如项目中有两个model, pane 和 tab,如果有个action需要同时更改pane和tab的state,怎么处理比较优雅呢?是拆成两个action 还是 pane和tab的effects中都监听这个action呢?
比如 comA->comB->comC 。是在route component 中把comA comB comC 所需要的props都传递下去么?这样comA 会接收很多参数,还是comB comC 自己 调用dva的connect方法获取state呢
开发dva应用时,有时会遇到js报错。比如 warning.js:36Warning: setState(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor...