erikras / erikras/react-redux-universal-hot-example

Ducks Structure

Open
#963 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I would like to share my Ducks Structure. It worked very well for my apps in production.
1. I follow all Ducks guidelines, except for including my app name in actionType
2. I don't create one Duck for each app module, instead I create one Duck for each app action, that way when an app action needs more complexity, it can grow and yet is easy to reason about because it's isolated

![fetchuser_js_ __users_hnordt_workspace_react-redux-boilerplate](https://cloud.githubusercontent.com/assets/1625399/13341394/20667c90-dc17-11e5-9bea-4050f17f0ef4.png)

(I meant to post it on ducks-modular-redux repo, I'm sorry)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.