Skip to content

v1.0.0

Compare
Choose a tag to compare
@chrisrzhou chrisrzhou released this 05 Mar 06:19

Modern rewrite

Features

As part of learning and ramping up with better JS tools and frameworks, v1.0.0 is a modern rewrite that focuses on:

  • Simplifying and decoupling React/D3 code with React hooks.
  • Document examples with docz.
  • Typescript support.
  • Minimize build size with rollup and bundlesize.

Breaking Changes

Compared to v0, there are a number of breaking changes.

  • React Dependency: You need at least react^16.8.3 installed to access hook functionality.
  • Features: Most features of the component still remain the same (e.g. tooltips, min/max font size, responsive).
  • Props: Many v0 props have been merged into options and callbacks with potentially different names. Please refer to the documentation or index.tsx to see how to apply props correctly.
  • Development: Previous developments were done in flow and a lot of dev dependencies have changed. The scripts in package.json should help handle most of these changes.