argshook/redux-msg

Documentation and use cases?

Opened this issue · 1 comments

Hi. Skimmed through the source, and the utilities look potentially interesting / useful to someone. As you said in the README, there's no docs. Could you add some info on what the library does and what the use cases are?

Hey! thanks for coming over :)

you're right. i'll try to type it out.
in the meantime i can just tell you some things.

the goal of this set of helpers is to reduce boilerplate within react-redux.
to achieve this they try to abstract whatever is usually repetitive without reducing flexibility.

a few usage examples are in this repo /components folder. in particular, compare what usual redux setup for counter and one using helpers from this lib look like. functionally they are the same but latter certainly has less repetition.

this lib allowed me to remove few code blocks from some apps i worked on, pretty fun.

i'll try to find time to write something more descriptive.