laochake

Results 6 comments of laochake

已经解决,Row组件需要useCallback包一层, 然后点击事件/样式 不要与Row强关联,保持setState的时候Row组件是不变的,点击事件/样式等通过getRowProps来绑定,而不是生成一个新的Row FunctionComponent, 导致就算下层的tr key和type不变的情况下也会先卸载DOM再创建DOM

> The current UI codebase is undergoing major refactoring to make it more developer friendly and to allow reusing components in other projects. In the near future there will be...

> I have the same issue. I am trying to draw a graph and then I want to update it as I receive new information about the graph (add extra...

> traceData.nodeList.length = 351 > traceData.lineList.length = 2742 > > ``` > console.log('start ->',new Date()) > let g = new dagre.graphlib.Graph(); > g.setGraph({ rankdir: 'LR' }); > g.setDefaultEdgeLabel(() => {...