3 ms·
I'm really confused by this comment. Unless I'm missing something about this specific library, if you pass new a new `data` prop to the chart, it will re-render
by fbonetti 10y ago
I'm really confused by this comment. Unless I'm missing something about this specific library, if you pass new a new `data` prop to the chart, it will re-render, so live data is the same as any other data. This is true for any react component.
- detaro 10y agoAnd e.g. it redraws the changed objects with the same animation as the initial data, and doesn't "morph" it somehow to the new position. Which you wouldn't know without trying, and might not be what you want. An example would show that clearly.