Replacing Redux with React Hooks (leighhalliday.com)Dec 18, 2019
Redux has been the go-to way to manage state within your React application for years. It's popularity is due in large part because when it was introduced, it solved a number of problems which were difficult to do in vanilla React on its own.
Understanding How Reducers are Used in Redux (css-tricks.com)Oct 24, 2019
We’re going to focus squarely on reducers is in this post. Our goal is to get comfortable working with the reducer function so that we can see how it is used to update the state of an application — and ultimately understand the role they play in a state manager, like Redux.
Reasons to learn Redux as a JavaScript Developer (robinwieruch.de)Sep 21, 2019
Redux is a whole mindset shift for many people in the JavaScript community, who literally grew up with only web development, but never heard about function composition or immutability before. Whether Redux stays with us for a few more years or makes place for other state management libraries, it leaves a great legacy on how we develop modern web applications.
How to test React-Redux connected Components (robinwieruch.de)Aug 30, 2019
React components connected to Redux can turn out pretty complex. Thus most people think that testing these complex components can turn out very complex as well. But it shouldn't be complex at all, if you take full control of the Redux store in your integration/unit test for the React component.
How Redux Connect compares to the new Redux Hooks (itnext.io)Jul 31, 2019
So it has been a hot reloading minute since React released their hooks API and I think it is fair to say that the majority of the community have played around with the new API. If you haven’t already, I definitely recommend it as they are great.
A Deep Dive into Redux (sitepoint.com)Jun 13, 2019
Building stateful modern applications is complex. As state mutates, the app becomes unpredictable and hard to maintain. That’s where Redux comes in. Redux is a lightweight library that tackles state. Think of it as a state machine.
Redux in 27 lines (dev.to)Mar 21, 2019
This article will take you through how you can implement an API similar to Redux yourself. Not because you'll want to do just that, but because it'll help you understand how Redux works!
A Complete React Redux Tutorial for 2019 (daveceddia.com)Mar 10, 2019
In this Redux tutorial I’m going to explain how to use Redux with React incrementally – starting with plain React – and a very simple React + Redux example. I’ll explain why each feature is useful (and when you can skip some).
Hooks, State, Closures, and useReducer (adamrackis.dev)Mar 09, 2019
For those of us coming from a Redux background, useReducer can seem deceptively complex and unnecessary. Between useState and context, it’s easy to fall into the trap of thinking that a reducer adds unnecessary complexity for the majority of simpler use cases; however, it turns out useReducer can greatly simplify state management.
Access the Redux Store Outside a React Component (daveceddia.com)Feb 26, 2019
The React Redux connect function works great for regular React components, but if you need access to the Redux store in a plain function, the technique is a bit different. In the examples below I’ll show how to access a JWT token from the Redux store, but the techniques will work with any data you might have.
How to use Redux in React Firebase (robinwieruch.de)Feb 10, 2019
This tutorial dives into using Redux on top of React and Firebase for state management. You will exchange React’s local state (e.g. users on admin page, messages on home page) and React’s context (e.g. session management for authenticated user) with Redux.
How Redux Works - Part 2 (matthewgerstman.com)Jan 30, 2019
In our last post we covered the bulk of how Redux works with createStore. In this post we'll cover the various other files in the library. While some of these contain simple utilities, others are much more complex.
How Redux Works - Part 1 (matthewgerstman.com)Jan 29, 2019
I spend a lot of time walking people through Redux best practices and how to use it, and throughout this process I've found it really helpful to dive into the source itself. While this source is very readable and well commented, I thought I'd put together a blog post to break it down and add some more context.
How to use Redux with Apollo Client and GraphQL in React (robinwieruch.de)Jun 26, 2018
When having a GraphQL server, Apollo Client can be a valid option for your remote data. How fits Redux into the equation? This tutorial shows you an example on how Redux and Apollo Client can be used together in a React application. Whereas Redux is used for local data, Apollo Client is used for remote data.
Redesigning Redux (hackernoon.com)Feb 28, 2018
Shouldn’t state management be a solved problem by now? Intuitively, developers seem to know a hidden truth: state management seems harder than it needs to be.
Making Redux click! (blog.jakoblind.no)Feb 28, 2018
Have you read Redux tutorials, but it is still not making it into your brain? We are all looking for that moment where it just clicks and we understand it. I hope this article takes you one step closer to that moment.
How I test redux-saga (codeburst.io)Dec 08, 2017
Because the saga effects only construct a special object that is consumed and executed by the middleware (aka they dont do much!), it is really easy to test your sagas with no mocking required.
TLTR; Redux (medium.com)Oct 10, 2017
Redux is a tiny Javascript library that manages the state of your application in a more consistent and practical way.
Redux and Redux Saga in Next.js (robinwieruch.de)Jun 28, 2017
A couple of basic setup steps to use Redux combined with Redux Saga in Next.js. Whereas Next.js enables you to build server-side rendered React applications, Redux and Redux Saga make sure to handle your state not only on the client-side, but also on the server-side.
Redux · An Introduction (smashingmagazine.com)Jun 28, 2016
Redux is one of the hottest libraries in front-end development these days. However, many people are confused about what it is and what its benefits are. As the documentation states, Redux is a predictable state container for JavaScript apps. To rephrase that, it's an application data-flow architecture, rather than a traditional library or a framework like Underscore.js and AngularJS