© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
D. B. Duldulao, R. J. L. CabagnotPractical Enterprise Reacthttps://doi.org/10.1007/978-1-4842-6975-6_10

10. Setting Up Redux Toolkit and Dispatching an Asynchronous Action

Devlin Basilan Duldulao1   and Ruby Jane Leyva Cabagnot1
(1)
Oslo, Norway
 

In the previous chapter, we learned the concept of managing the state using Redux Toolkit. We discussed prop drilling in a React app and showed the pattern when writing Redux in React.

Now, as promised, in this chapter, we are here to get down and dirty:
  • Setting up Redux Toolkit

  • Dispatching an asynchronous action to the reducer

  • Rendering the state from the Store to our UI – specifically, a calendar view

Creating the Calendar ...

Get Practical Enterprise React: Become an Effective React Developer in Your Team now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.