Scaling your Redux App with ducks:  by @alexnmoldovan #ReactJS #Redux #JavaScript
  • A single flow through your app will probably require files from all folders.
  • Selector functions take a slice of the application state and return some data based on that.
  • The file specifies what gets exported from the duck folder.
  • You end up with a folder common or shared, because you want to reuse code across many features in your app.
  • The solution was to split each feature into a duck folder.

Read more


@HappyFunCorp: “Scaling your Redux App with ducks: by @alexnmoldovan #ReactJS #Redux #JavaScript” open tweet »