Upgrading from v0
v0 was the React component library @derpdaderp/chartkit. v1 is a JSON spec. React, Vue, Svelte, vanilla DOM, and Node render that same object.
| Before | After |
|---|---|
@derpdaderp/chartkit | @chartkitdev/react for components, @chartkitdev/core for the spec |
| Component props such as dataKey and leftAxis | A spec: version, type, data, encoding, a11y.alt |
| React only | React, Vue, Svelte, vanilla, and renderToString |
npm uninstall @derpdaderp/chartkit
npm install @chartkitdev/react @chartkitdev/core@chartkitdev/react still exports LineChart, KpiCard, and the other dashboard components. Their props are not spec keys. New charts pass spec to Chart. @derpdaderp/chartkit remains a compatibility shim for existing imports.