Howdy Logo
Glossary Hero image

The Howdy Glossary

Search terms in Glossary

Redux

Redux is an open-source JavaScript library for managing application state. Often used with React, Redux can also integrate with other frameworks. It provides a single source of truth by storing the entire application state as a plain JavaScript object within a single store. State modifications are enacted through action creators, which dispatch actions to describe changes in the state tree. Reducers then handle these actions to update the store's data immutably using pure functions, ensuring predictable results and facilitating debugging. The architecture encourages developers to write clean code that separates presentational and container components while simplifying complex asynchronous logic with middleware like Thunk or Saga. By enforcing unidirectional data flow, Redux promotes maintainability and scalability in large applications by making it easier to understand when, where, why, and how a certain piece of state was updated over time.

Back