|
You are here |
blog.javascripting.com | ||
| | | | |
blog.logrocket.com
|
|
| | | | | This guide provides a foundational understanding of Redux, highlighting its functionalities and why you should use it for state management. | |
| | | | |
github.com
|
|
| | | | | A JS library for predictable global state management - reduxjs/redux | |
| | | | |
mbuffett.com
|
|
| | | | | Recently I migrated my side-project from Redux, which I've used in every React project for the past four years, to pullstate, here is my tale. Problems with Redux Feel free to skip this part if you already know the pain points of Redux, there's nothing in here that hasn't been discussed a million times before. These are the problems as I see them, most important first: The boilerplate. Oh man, the boilerplate. Want to add a counter? First, add the field to your interface (I'm assuming TypeScript), add a default value, create a new action type for the incrementing, write an action creator, add the case to your reducer, add the dispatcher hook to your component, dispatch your action creator. It's exhausting just to list the steps, nevermind actually doing it f... | |
| | | | |
blog.logrocket.com
|
|
| | | Review what the React Context API is, when you should use it to avoid prop drilling, and how it compares to Redux. | ||