d3-component

A lightweight component abstraction for D3.js.

BSD-3-CLAUSE License

Downloads
71
Stars
108
Committers
3
d3-component - New i argument Latest Release

Published by curran almost 7 years ago

Many thanks to @janwillemtulp for the addition of the i argument in lifecycle callbacks:

d3-component -

Published by curran over 7 years ago

  • v3 API Changes #70
  • (bug fix) Datum passed to destroy is now the most recent #81
  • Source code is now commented and optimized for readability.
d3-component - v2.5.1

Published by curran over 7 years ago

  • Linting all-in #78 - Adopting ESLint, and some minor code rearrangement.
d3-component - v2.5.0

Published by curran over 7 years ago

  • es2015, rollup config file, and source maps #73 (thanks @micahstubbs !)
  • Add links to es2015 examples.
d3-component - v2.4.0

Published by curran over 7 years ago

Optimize children selection #66

d3-component - v2.3.0

Published by curran over 7 years ago

Accept DOM Node #60

d3-component - v2.2.0

Published by curran over 7 years ago

More efficient context handling #59

d3-component - v2.1.0

Published by curran over 7 years ago

  • Return merged selection #56
d3-component - v2.0.0

Published by curran over 7 years ago

  • Use names create, render, destroy #48
  • Bring back className argument #47
  • Pass additional "context" object #49
  • Updated examples to use Redux
d3-component - v0.1.1

Published by curran over 7 years ago

  • Bring back className argument #47
d3-component - v1.0.0

Published by curran over 7 years ago

  • API Overhaul - More D3-like API #40
  • Use enter, update, exit names #42
  • Removal of local state feature
d3-component - v0.9.0

Published by curran over 7 years ago

  • Fix breakage with non-component nodes #36
  • Support Custom Exit Transitions #19
d3-component - v0.8.0

Published by curran over 7 years ago

  • Support Recursive Components #25
  • Solve Specificity Issues #29
  • Fix props storage regression #32
d3-component -

Published by curran over 7 years ago

d3-component - v0.6.0

Published by curran over 7 years ago

  • API Addition: Add callback variant of setState #23
d3-component - v0.5.0

Published by curran over 7 years ago

  • API Change: Pass empty object as props if none given (see #16)
  • API Addition: Add support for a key function (see #9)
  • Invoke Destroy Hook Recursively (see #17)
  • Internal refactoring and optimization.
d3-component - v0.4.0

Published by curran over 7 years ago

  • Internal refactoring.
  • Eliminate new closure creation in component render.
  • Pass selection into create hook (API change).
  • Rename data, datum to props in documentation.
  • Update tests to more closely resemble README examples.
  • Revise README, add clock example.
d3-component - v0.3.0

Published by curran over 7 years ago

This release addresses performance concerns relating to extraneous object and closure creation.

  • Uses a single d3.local instead of two.
  • Eliminate use of function.bind.
  • Fewer new closure creations on component render.
  • Eliminate new D3 selection creation on component render (select(this) memoized in local).
  • One fewer new object on setState (at the cost of losing immutability of the internal state object).