robinweser / alveron

Tiny (0.8kb) Elm-inspired state management for React
https://alveron.js.org
MIT License
74 stars 2 forks source link

shouldUpdate on Consumer #9

Closed robinweser closed 6 years ago

robinweser commented 6 years ago

It might be helpful to implement basic shallow equality checks for the Consumer component or at least add the ability to add a custom shouldUpdate method.