investtools / extensible-duck

Modular and Extensible Redux Reducer Bundles (ducks-modular-redux)
MIT License
147 stars 12 forks source link

[Discussion] Add selectors as part of Duck instance #5

Closed aga5tya closed 7 years ago

aga5tya commented 7 years ago

How about state selectors also be part of the instance so we could easily share the selectors and access the state within. Similar to another implementation i saw here https://github.com/cyrilluce/saga-duck.

Let me know your thoughts :) @akelmanson

akelmanson commented 7 years ago

Hi aga5ty. I've never used selectors but I think it makes a lot of sense to include support in extensible-duck. You are welcome to submit a PR!

akelmanson commented 7 years ago

Thank you, @aga5tya!