Updating C3 charts on props change with React
问题 I am trying to beautify the update of a C3 chart written as a React component when its data change. The data flows to the component from a parent component via its props. The solutions I have now "works" but do not seem optimal: when new data comes in, the whole chart is regenerated. I would like to transition to the new state (lines moving rather than whole chart updating in blink). The C3 API seem to have lots of method but I cannot find how to reach the chart. var React = require("react");