Ducks Modular Redux is a proposal for organizing Redux logic into self-contained feature modules. Each duck keeps a reducer, action types, action creators, and optional side effects in one file instead of scattering them across folders. The convention requires a default reducer export and named action-creator exports. Action types use a namespaced format that includes the application or package, reducer name, and action name. This structure makes features easier to move, reuse, publish, and reason about independently. Ducks remain compatible with combineReducers, bindActionCreators, thunks, sagas, and other common Redux patterns. The repository documents the rules, provides examples, includes translations, and points to libraries and generators inspired by the proposal.

Features

  • Self-contained Redux feature modules
  • Combined reducers and action creators
  • Namespaced action type conventions
  • Reusable and publishable state logic
  • Compatibility with standard Redux utilities
  • Examples, translations, and generators

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Ducks

Ducks Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ducks!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

4 days ago