> For the complete documentation index, see [llms.txt](https://ccapeng.gitbook.io/bookstores/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ccapeng.gitbook.io/bookstores/topic-react-context-and-redux-diff.md).

# React context and redux difference

## Context

* Allow to have state value pass around difference level of components.
* Allow to have multiple contexts.
* One value changed, then rendering all components again.

## Redux

* It's centralized state management.
* Allow to hava middleware.
* Better for middle tier test case.
* A cetain level coding complication in order to pass value to different stages.
