NuCivic / react-dash

A framework for building data visualization dashboards using react. Docs: http://react-dashboard.readthedocs.io/en/latest/
MIT License
98 stars 22 forks source link

Add Filter handler #101

Closed acouch closed 6 years ago

acouch commented 6 years ago

One thing react-dash lacks is the ability to respond to changes to components that are not tied to a filter. For example if you wanted a universal reset button or have the values from one filter change based off of change from another filter.

This PR adds a filter handler that allows components to respond to an update from another component.

This is partly lacking because there isn't a way to see the full state of the app and update the queries accordingly. Would like to refactor to add that in the future.

erogray commented 6 years ago

@acouch does this need code review?

acouch commented 6 years ago

Yes, speaking with @iris-i tomorrow.