
Master redux toolkit and rtk query in react through hands-on projects and theory, building over ten apps, including a cocktail app, blogs, and e-commerce, with authentication, api integration, and GraphQL.
Understand Redux as a predictable state container for JavaScript applications. Learn how it stores the app state and makes changes explicit and testable across React, Angular, and vanilla JS.
Understand Redux core principles: single source of truth, read-only state, and changes through pure reducers. Dispatch actions to a single store; reducers update state immutably and refresh UI.
Explore the core problem of React state management by tracing how dispatching actions through a reducer yields a new immutable state in a single store, with updates propagating to components.
Explore Redux Toolkit, a batteries-included toolset for React apps that reduces boilerplate and simplifies actions and reducers, illustrated with a counter example and mutating reducer behavior.
Explore the Redux Toolkit API, featuring the configurator that auto combines reducers and middleware, simplified reducers, asynchronous task support, and the create unity adapter for normalized data.
Set up the development environment by installing Visual Studio Code (community), installing Node.js, and adding three vscode extensions to enable React snippets and code formatting with Prettier and bracket colorization.
Explore basic redux toolkit concepts by building a simple blog app where users post blogs and can like or dislike posts, using starter code in a React application.
Review the starter code for a Reader Toolkit project with a bootstrap 5 layout, a blog publish form and block list, and an initial store configuration with no reducers yet.
Create a blog slice with Redux Toolkit, define and rename the initial state, export the reducer actions, and hook up the blogs reducer into the store under the blocks key.
Learn to use a selector to access blog state from the store, render blog blocks (id, title, content, user), and replace hard-coded headings with a dynamic blog list.
Create and export a blocks selector to isolate state access, shielding components from future state shape changes; wire it into the blocks life.gs file and reuse in the blocks list.
Add a blog action inside the reducer to capture title, body, and user ID, and export the corresponding action creator while following redux toolkit conventions to avoid state mutation.
Explore how Immer.js powers reducers in Redux Toolkit slices, enabling you to write code that looks like mutating state while Immer produces new state under the hood.
Dispatch an action to add a blog using redux toolkit within a blog form, generate a unique id with nanoid, and submit the title and body to publish the post.
Learn to use a prepare callback in a redux toolkit slice to format the payload, generate a unique id with nanoid, and centralize logic to simplify the form code.
You can install the redux-dev tool extension in your chrome browser from below URL
https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=en
Create a users slice with an initial user list, export a selector for all users, and hook the reducer into the store to enable selecting a user from a dropdown.
Select all users from redux toolkit slice, map over them to create dropdown options with user ids and names, and verify the dropdown shows John Doe, Nancy, and James Bond.
Modify the add blog action to pass the user id and update the prepared callback to accept it, ensuring blogs publish with the correct user attribution.
Display the publishing user's name by selecting all users with useSelector, matching the user id. Show the name or unknown user and disable the submit button until fields are filled.
Implement a redux toolkit reducer to handle like and dislike actions by updating an initialized response object with like and unlike counts, keyed by blog block id.
Learn to show like/unlike counts by dispatching actions in a React Redux Toolkit app. The lecture demonstrates exporting and using a blog-specific action to update and display blog like counts.
Review how we implemented features like add, block, and like or dislike a block with redux toolkit in a React application, and preview the upcoming middleware concept.
Build a redux toolkit app demo in React JS that uses RTK query to fetch cocktails from a third-party API, with a homepage, a details page, and search by middleware.
Understand how createAsyncThunk in Redux Toolkit handles asynchronous actions, producing pending, fulfilled, and rejected lifecycles, and how to connect it to reducers and store state.
Set up a React app with Redux Toolkit and RTK Query by creating the project, installing dependencies, and applying material design styles in the public HTML.
Structure a Redux Toolkit and RTK Query React app by organizing folders for components, containers, and Redux, and build a home with cocktail list and a single cocktail detail view.
Develop the header component by applying class names, containers, and text blocks to shape the layout, including a blue platinum container and branding elements.
Configure Redux Toolkit in your app, create an asynchronous thunk to fetch cocktails, handle pending, fulfilled, and rejected states with extra reducers, and display results on the homepage.
Build a search component by wiring input fields in visual studio code, configuring text inputs and component structure, and outlining subsequent logic for the homepage.
Render the cocktail list on the home page by selecting state, dispatching an initial load, and mapping cocktails to show image, name, and glass with a details page link.
Learn to implement a createAsyncThunk action to fetch a single cocktail and render its detail view, handling the three promise lifecycles and aligning payload structure in Redux Toolkit.
Build a single cocktail detail view in a react app using redux toolkit and rtk query, fetching by id, managing loading state, and rendering ingredients, instructions, and image.
Implement search with createAsyncThunk in redux toolkit to fetch cocktails from the API, dispatch the action, and update the cocktail list based on user input.
Wrap up: reinforce redux toolkit and RTK Query in a React app by building CRUD operations and a think tank, and preview delete and put requests in the next section.
Demonstrate a full CRUD app with Redux Toolkit and RTK Query in a React JS project, using a fake API to simulate create, read, update, and delete operations.
Set up a React project with Redux Toolkit and RTK Query, install dependencies, and scaffold API interactions to create a blog post and update or delete a person by id.
Structure a Redux Toolkit project in React by organizing folders for posts, enabling create, update, and delete actions, and wiring React routing with a fake API to simulate CRUD operations.
Build a basic form to fetch data by id, with input fields and two buttons, dispatching actions and navigating after creating a post using Redux Toolkit and RTK Query.
Configure Redux Toolkit to write a get action with createAsyncThunk, perform an API request, and manage pending, fulfilled, and rejected states via extraReducers while wiring the store with React-Redux provider.
dispatch a get createAsyncThunk action, fetch a post by id, manage loading state with a selector, and render the post details in a card component.
Add a delete button to the card, configure props and styling with a design component, and verify the button appears and works.
Implement a delayed delete with createAsyncThunk to remove a post by id, dispatching the delete action and handling pending and fulfilled lifecycles in Redux Toolkit for React.
Post action with createAsyncThunk in Redux Toolkit by mimicking an API post, configuring content-type as application/json, and sending a payload with title and values.
Create a React app by managing title and body state, handling changes, and submitting to create a post, then navigate to the home page using React Router.
Dispatch a post creation using createAsyncThunk, handle the form submission with prevent default, display a loading state, and render the newly created post below the form using the Redux store.
Explore updating a post with a put request using Redux Toolkit and createAsyncThunk, including building an update action, handling id-based payloads, and managing the three promise lifecycles in the reducer.
Learn to populate a post body into a text area by dispatching an edit action, manage initial state, and toggle save and cancel buttons in the editing form.
Dispatch a put update using createAsyncThunk to modify a blog post body, manage edit mode, and save changes, reflecting the updated body value in RTK Query.
Apply Redux Toolkit to perform operations and create a think tank in a React app, integrating it into a React project and reinforcing Redux Toolkit concepts learned in this section.
Rtk query provides a powerful data fetching and caching tool that eliminates manual loading and error handling by defining an api interface with createApi and fetchBaseQuery.
Build your first app in this redux toolkit and rtk query course by adding, deleting, and marking to-do items complete in a React app, using article three for read feature.
Begin building a React app from a starter project, install and run a JSON server on port 5000, and set up RTK Query with two packages to enable API interactions.
Create an api slice with redux toolkit and rtk query in a react project, organizing code under a dedicated api folder and exposing endpoint-based hooks for data fetching.
Wire apiSlice into a React app by wrapping the entire app with the API provider and importing the apiSlice to enable custom hooks across components.
Use the useGetTodos query in a TodoList component to fetch todos from a JSON server, handle loading and isSuccess, and render the todos with reduced boilerplate.
Learn to implement mutations in apiSlice with RTK Query, including add, update, and delete operations on todos, using proper method, url, and body to update the JSON data.
Apply add, update, and delete mutations in a todo list using RTK Query within a React component, wiring inputs and handlers to manage total, title, and completion state.
Identify why cached data prevents real-time updates after mutations and learn to invalidate the cache so new to-dos and deletions appear without refreshing.
Explore how to use redux toolkit and RTK Query to invalidate cache after mutations and auto-refetch data, keeping the to-do list up to date with loading indicators.
Explore transforming API responses with RTK Query in a React app to control todo ordering using response transformation and callbacks, preparing for the API provider replacement next.
Build a small random user app in React with Redux Toolkit and RTK Query, enabling a random user button to fetch and display name, email, address, phone, and password.
Set up a random user application by bootstrapping a React TypeScript project with a template, install dependencies (including icons), and open the project in Visual Studio Code to proceed.
Clean up the project by removing the unused features folder, unused imports and header elements, then ensure the app loads cleanly in the browser.
Configure RTK and write the first query by creating an api with createApi, defining a random user endpoint, and wiring store and listeners in a React app.
Fetch a random user with RTK Query in a React JS project, transform the response into a single user object, and render name, avatar, contact details, and address with icons.
Render random user in a React app by fetching and displaying user details (name, last name, email, phone, address) with hover interactions, loading states, and a default image fallback.
Complete your first React app using Redux Toolkit concepts, and preview building a full credit application with RTK Query and React in the next section.
Demonstrates building a full crud contact application in React with Redux Toolkit and RTK Query, enabling create, read, update, delete, and view operations against a simulated server.
Set up a React project for Redux Toolkit and RTK Query, install dependencies, and prepare a data file and server script to run the client and view initial data.
Structure your redux toolkit project by creating folders for pages, models, and store under source. Register routes and components for the home, add/edit, and detail views using TypeScript.
Learn to configure and write your first RTK Query in a React app, create an API service with createApi, define endpoints, and connect it to the store to fetch data.
Show data with RTK query by fetching contacts in a react app, displaying a table with name, email, and contact, with delete and view actions, plus loading and error states.
Handle errors with RTK Query in a React JS app by showing toast notifications. Configure react notify and prepare for a contact form with name, email, and content.
Learn to post data with Redux toolkit RTK Query in React.js by creating a contact mutation and a new hook to add contact details as an object.
Build a form component with name, email, and contact fields, handle input changes, show a toast, and navigate home after adding a new contact, using Redux Toolkit and RTK Query.
Use RTK Query to add a new contact by validating name, email, and content, preventing default form submission, and dispatching a contact mutation to update the UI and navigate home.
Use an RTK Query delete mutation to remove a contract by id, confirm the action in a dialog, and invalidate tags to refresh the table data.
Fetch a single contact with RTK Query by using the id, then display its id, name, email, and content, with a go back button to the homepage.
Populate the existing user data into name, email, and contact fields by fetching the record with an id and updating the form with rtk query in a redux toolkit setup.
Shows how to update a contact using RTK Query mutations in a React app, updating by id with name, email, and contact fields.
Consolidate your knowledge of Redux Toolkit and RTK Query by applying them in a React JS app, and deepen your understanding of the course material.
Build a movie theater app using redux toolkit and redux saga with RTK Query in React JS, performing IMDb API calls, showing movie details, and back navigation.
Explore redux-saga overview and how generator functions orchestrate side effects like API requests, data fetching, and local storage in React apps, enabling easier, synchronous-looking code and improved failure handling.
Explore generator functions in JavaScript, a special function that can pause and resume, returning an object with value and done on each next call and yielding multiple values.
Set up a new React project named movie app, install dependencies including Material UI, React Redux, Redux Toolkit, and RTK Query, and prepare the development environment in VS Code.
Configure your IMDb API key. Verify via email to activate your key, copy the key into your code, and load the app in the browser.
Organize your React app with four pages, folders for components and redux, set up an environment variable for the movie API key, restart the server, and clean up unused files.
Configure redux toolkit and redux-saga in a React app by creating slices, setting initial state for movies, wiring the store with saga middleware, and wrapping the app with the provider.
Enable routing in this React app by configuring two pages: home and movie detail, using browser router and routes, and wire up the home and movie components for navigation.
Develop actions and sagas to fetch movies with Redux Toolkit and RTK Query in a React JS app, including defining endpoints and exporting movie actions.
Learn to implement redux-saga to fetch movies via a generator function, using takeLatest and call effects for api requests, and run multiple sagas in parallel with all.
Build a search-driven homepage for a movie app using Redux Toolkit and RTK Query with React JS, featuring a search component and a movie list, and Material UI styling.
Handle errors and render the movie list in a React app using Redux Toolkit and RTK Query, managing data and error states from the movie slice.
Render a movie list component that fetches movies from the store, uses Material UI card components, and links each item to a single movie page.
Explore Redux Toolkit and RTK Query patterns to fetch a single movie by ID using action and saga flows, update state, and orchestrate API calls with listener and watcher sagas.
Build a single movie page with Redux Toolkit and RTK Query using React JS, displaying the movie title, plot, director, cast, image, and back navigation to the home page.
Complete a movie theater application built with the server and router toolkit in a React app, and learn to integrate reader saga with the reader in future React projects.
demonstrates a shopping cart app built with redux toolkit and rtk query in a react app, showing quantity updates, total recalculation, item removal, and cart clearing with router toolkit refresh.
Set up a new shopping cart project with React and Redux Toolkit, create a structured folder layout with a card container and product files, and prepare for RTK Query integration.
Configure redux toolkit in this React app by setting up the router toolkit, configuring the store, and wiring the provider to connect product items with title, price, image and amount.
Build a redux toolkit powered navbar by wiring a number component to the cart state with useSelector and dispatch, using material UI components.
Build a shopping cart in React using redux toolkit, dispatch, and useSelector to manage items, quantities, and the total, with actions to increase, decrease, remove items and clear the cart.
Develop a redux action to compute the cart total by reducing cart items, updating total amount and total count from item quantities and prices.
Increase, decrease, and remove items in the shopping cart by dispatching actions to update item quantities and totals, including removing items when quantity reaches zero and clearing the cart.
Clear the shopping cart by dispatching a redux action, inspect the cart container, and verify user interface updates as items are removed and the cart empties.
Persist cart value in a React app using redux-persist with redux toolkit, configuring the store and persisted reducer. Wrap components to maintain total and quantity state across sessions.
Master shopping cart operations in a React app using Redux Toolkit. Learn to manage cart values with Redux Toolkit and anticipate more Redux Toolkit projects in this course.
Introduce building a food recipe app in react using RTK Query to fetch recipes from a third-party API, enable search and health category filtering, and display details in a modal.
Configure the Edamam recipe API in a React app using the free plan and required parameters, obtain the API key, and store the configuration for integration.
Set up a React TypeScript project using a router template for a recipe app, install material design, and clean boilerplate by removing unused folders.
Establish a folder structure with a component folder and a guard component, generate snippets for each TypeScript component, delete the feature folder, and create an endpoint and a recipe API.
Configure a redux toolkit store with an rtk query API, define endpoints for recipe search using query and health, apply middleware, and connect the API to the app.
Implement a navbar and search input in a React app using Redux Toolkit and RTK Query, wired to a recipe mutation and styled with Material UI.
Fetch all recipes with the query and display them in a reusable card component that shows the recipe image and title, handling loading and data states.
Implement a search feature for recipes by setting a query and clearing inputs, and display a loading spinner using a material component to indicate the loading state.
Build a health category dropdown in a React app using plain HTML and CSS, map predefined options, and filter recipes based on the selected health category.
Learn to show recipe details in a modal by wiring a modal component to card clicks, retrieve recipe data with rtk query in React app, and display calories and ingredients.
Define a recipe type and replace any with proper types to enable type-safe React Redux Toolkit code, wiring types across components and handlers, including initial values and event typings.
Conclude the food recipe app project by applying the target query, and learn key concepts for using third-party apps within Redux Toolkit and RTK Query in React JS.
Become a highly-demanded Frontend developer by adding the Redux-Toolkit Skill set into your React knowledge. This course is designed in such way that anybody can get enroll into this course who wanted to enhance their Redux concept.
** Best thing about this course is that it will get updated time to time whenever new concept get added into Redux-Toolkit package along with new project will also get added frequently in this course. Initially, I launch this course with 4 project. Now, it has 11 project . So, it will keep getting updated**
This project-based course will have you coding right away. Building application with the help of React and Redux-Toolkit in this course will sharpen your skills in modern web development.
With the help of createAsyncThunk middleware and RTK Query, you will get know how to work with api in React Application. And I am sure after taking this course you will become master to implement Redux-Toolkit in any one of your existing React application.
You will also able to learn how to integrate Redux-Saga middleware with Redux-toolkit by building a Movie App using 3rd party API.
You will also able to persist your data by using library called Redux-Persist with Redux-toolkit by building a Shopping Cart App.
You will also going to implement JWT authentication using RTK-Query by building Authentication App.
You will also going to implement firebase using RTK-Query by building a Blog App in which we learn to write different firebase query to perform CRUD feature and in that app we will be using cloud firestore database
In this course, you will learn below key concept related to Redux-Toolkit & RTK Query with React:
How Redux-toolkit fits into a front end single page application with React?
What is Redux-Toolkit and it's API ?
How to configure store with Redux-Toolkit ?
How to configure Redux-Saga with Redux-Toolkit ?
Learn different Redux-Toolkit API like createSlice, configureStore, createAction, createReducer & createAsyncThunk
How to make an API request with Redux-Tookit using createAsyncThunk middleware and deal with the response ?
Understanding different promise lifecyle that get generated by createAsyncThunk middleware.
What is RTK Query and it's API ?
Learn different RTK Query API like createApi & fetchBaseQuery
Writing different RTK Query to make HTTP Rest Api request
Error handling with RTK Query
You will learn to use sagas with Redux-Toolkit
You will able to persist data using Redux-Persist with Redux-Toolkit.
JWT authentication using RTK Query
You will learn to use GraphQL Apollo Client with Redux-Toolkit
You will learn implementation of React Query with Redux-Toolkit
Learn different design framework like MDB5, MUI , Bootstrap 4 & 5 and Ant Design to build React component.
What you will build in this course ?
First we will start with some theoretical concept like we will try to understand core problem of React and why we use Redux with React ?
After that we will build 4 application with Redux-Toolkit and RTK Query to help you understand how React and Redux-Toolkit work together.
In this course, you will also learn to build full React CRUD application with the help of Redux-Toolkit & RTK Query using JSON Fake server. For beginner React developer, sticking to JSON-server is recommended.
We will be also learning different design framework like Material Design Bootstrap 5 and Ant Design in this course to work on our React component like Table, Form, Button, Card and many more component we will build with the help of Material Design Bootstrap 5 and Ant Design.
Below future project going to include in this course.
1. JWT Authentication with RTK Query (Released).
2. Recipe App using 3rd part Api key with RTK Query (Released).
3. Integrate firebase with RTK Query (Released).
4. Redux Toolkit with Graphql and Apollo Client (Expected to release in June)