Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/selmasaltik/diving-into-redux

Diving into Redux (An Alternative To The Context API) /// What I learned from "React - The Complete Guide 2024 (incl. Next.js, Redux) - Academind by Maximilian Schwarzmüller"
https://github.com/selmasaltik/diving-into-redux

actions configurestore create-slice react react-redux reducer reducer-functions reducer-redux redux redux-toolkit usedispatch-hook useselector-hook

Last synced: 8 days ago
JSON representation

Diving into Redux (An Alternative To The Context API) /// What I learned from "React - The Complete Guide 2024 (incl. Next.js, Redux) - Academind by Maximilian Schwarzmüller"

Awesome Lists containing this project

README

        

# Understanding Redux
***Managing App-Wide State with Redux***

- **What** Is Redux? And **Why** Would You Use It?
- Redux **Basics** & **Using Redux** with React
- Working with **Redux Toolkit**

**Redux**: A *state management* *system* for *cross-component* or *app-wide* state

***Don’t we have React Context already?***

**React Context Has Some Potential Disadvantages**

- ***Complex Setup & Management:*** In more complex apps, using React Context can lead to deeply nested or “fat” “Context Provider” components
- Potential Problem: Deeply Nested Providers
- Potential Problem: Complex Providers
- ***Performance:*** React Context is not optimized or high-frequency state changes
- Potential Problem: High-Frequency Changes

**Core Redux Concepts**

[Core Redux Concepts](https://www.canva.com/design/DAGUDnlmJRU/EKQGZ6o-LdKUjSxoIDHHyw/edit?utm_content=DAGUDnlmJRU&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)

[The Reducer Function](https://www.canva.com/design/DAGUJBPE_gI/SJBdO7QQAjdRnSmPu-7XiQ/view?utm_content=DAGUJBPE_gI&utm_campaign=designshare&utm_medium=link&utm_source=editor)

[Reference vs Primitive Values](https://academind.com/tutorials/reference-vs-primitive-values/)

[Redux Toolkit | Redux Toolkit](https://redux-toolkit.js.org/)