Redux logoRedux

Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test.

Modernize Redux Applications

Redux has withstood the test of time. This means that you likely have Redux in your applications that don't follow the newly recommended Redux Toolkit patterns.

Luckily with RTK migration doesn't have to be all or nothing, you can start using the new patterns today and migrate your legacy Redux to these new patterns in your own time.

Get a jump start on how to go about modernizing your Redux applications today.

Classic Redux

Dan Abramov created Redux in 2015 which popularized a pattern the React community hadn't seen for managing state involving three driving principles:

  • Single source of truth
  • State is read-only
  • Changes are made with pure functions

When you combine these principles you get a powerful toolset for wrangling state within your application (especially when asynchronicity is involved).

Learn from Dan what drove these decisions in this pairing of courses that work with the legacy Redux API

248 results
found for "
*
"

Search Results

Delete Unused Redux Code After Migrating to RTK Query

lesson by Jamund Ferguson

Debug RTK Query Applications with the Redux DevTools Chrome Extension

lesson by Jamund Ferguson

Prefetch Data in Response to User Interactivity with RTK Query's usePrefetch hook

lesson by Jamund Ferguson

Prefetch Data in RTK Query using an Endpoint's initiate() Method

lesson by Jamund Ferguson

Customize Query and Mutation Headers in RTK Query with prepareHeaders

lesson by Jamund Ferguson

Undo an Optimistic Update in RTK Query with queryFulfilled

lesson by Jamund Ferguson

Perform Optimistic Updates in RTK Query by Dispatching the updateQueryData Action

lesson by Jamund Ferguson

Refetch Data on Focus And Reconnect with RTK Query's setupListeners

lesson by Jamund Ferguson

Invalidate RTK Query Cache Entries Automatically using providesTags and invalidateTags

lesson by Jamund Ferguson

Invalidate the RTK Query Cache using keepUnusedDataFor

lesson by Jamund Ferguson

Manually Refetch Data After an RTK Query Mutation with unwrap() and refetch()

lesson by Jamund Ferguson

Migrate a Thunk in a Redux Application to an RTK Query Mutation

lesson by Jamund Ferguson

Access the RTK Query Cache in a Memoized Selector Using an Endpoint's select() Method

lesson by Jamund Ferguson

Transforming RTK Query Data before Caching with transformResponse

lesson by Jamund Ferguson

Transform Cached RTK Query Data before Rendering with useMemo

lesson by Jamund Ferguson

Migrate a Redux Thunk to RTK Query

lesson by Jamund Ferguson

Handle Form Submission States with RTK Query's isLoading and isSuccess Values

lesson by Jamund Ferguson

Migrate a POST Request in a Redux App to an RTK Query Mutation

lesson by Jamund Ferguson

Handle Loading and Error States in RTK Query with isLoading and Error Values

lesson by Jamund Ferguson

Migrate a GET Request with a Dynamic URL to RTK Query with builder.query()

lesson by Jamund Ferguson

Pass RTK Query Data into Redux Selectors

lesson by Jamund Ferguson