illustration for Adopting RTK Query into an Existing Redux Application
free

Adopting RTK Query into an Existing Redux Application

Instructor

Jamund Ferguson

49m closed-captioning
·
25 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.9
62
people completed
Published 2 years ago
|
Updated 2 years ago

RTK Query is a powerful new way to model data fetching and caching in Redux applications. It’s built on top of Redux Toolkit, but hides almost any interaction with reducers, selectors or thunks behind custom hooks generated specifically for your API.

If your redux application relies heavily on data coming in from over the network, there’s a good chance RTK Query is worth adopting. It will allow you to remove significant chunks of code while also giving you new tools for error handling and cache invalidation that will make your users smile. Apply what I teach in this course and you won’t have to think about thunks ever again.

Sample code can be found here.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

Course Content

49m • 25 lessons

    You might also like these resources:

    illustration for RTK Query Basics: Query Endpoints, Data Flow and TypeScript
    Lenz Weber-Tronic • 20m • Course

    Learn RTK Query to easily fetch data from a server and cache the result between renders.

    illustration for Modern Redux with Redux Toolkit (RTK) and TypeScript
    Jamund Ferguson • Course • 40m

    Learn how Redux Toolkit simplifies the process of setting up and maintaining your redux application when building slices, reducers, selectors, and thunks.

    illustration for Confidently Testing Redux Applications with Jest & TypeScript
    Jamund Ferguson • 1h18m • Course

    Best practices for testing redux applications have changed dramatically over time. This course aims to be a comprehensive resource for those seeking to test their redux apps.