Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library purpose / documentation? #20

Open
markerikson opened this issue Jun 3, 2017 · 1 comment
Open

Library purpose / documentation? #20

markerikson opened this issue Jun 3, 2017 · 1 comment

Comments

@markerikson
Copy link

Hi. Skimming through the code, looks like you've got something useful, but I can't tell exactly what this library does. Could you clarify what this library does, and maybe add a bit of documentation and examples?

@yi-bai
Copy link
Owner

yi-bai commented Jun 4, 2017

Hi Mark, thank you for your comment.
The main purpose of this library is to provide a convenient way to compose and reuse redux reducers, which is very difficult and awkward now.
The main idea is enabling actions with JSON path, e.g. dispatch({ type: '$.photos[0]/LIKE' }) for dispatch action to a specific reducer.
I'm planning to add document and examples in a week, so please stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants