Skip to main content
100%

Todos

✓ Published0🌍 Public
CCurran Kelleher
Last edited Mar 25, 2017
Created on Mar 4, 2017

A todo list application demonstrates building interactive user interfaces with d3-component, using Redux for state management and d3 transitions for enter and exit animations. The interface supports adding, toggling, and filtering todos by visibility status. The code leverages d3-component’s render, create, and destroy lifecycle hooks, with transition calls animating list item size changes, and a key function binding data to DOM elements.

AI-generated description

A todo app that demonstrates usage of d3-component. Inspired by Redux Todos Example.

This implementation has a few rough edges compared to the original with React and Redux, but it's also less code and does implement all the same features. This example shows that that d3-component can in fact be used to construct moderately complex user interfaces, and it also shows some of its limitations.

One strong point of d3-component is its support for transitions. I wonder what it would it look like to implement the same functionality in React?

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/acde35df0c7939ff97740b4f9800258e'>Counter</a>

Built with blockbuilder.org

<!-- Start of SimpleHitCounter Code --> <div align="center"><img src="http://simplehitcounter.com/hit.php?uid=2238990&f=16777215&b=0" border="0" height="18" width="83"></a><br></div> <!-- End of SimpleHitCounter Code -->
mit Licensed

Similar vizzes