Redux-Thunk explained “Simply”

What is middleware?

Middleware visualization.

What is Thunk?

1- Dispatch the action creator

2- A function (action creator) that creates functions 🤔

3- An action creator that actually returns an action 🙃

--

--

--

Front-end web developer and graduate student from Microverse.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Laravel API Resources + JSON API Spec

Page down editor with Angular JS

Rate Limit in NestJS with decorators

Build a scroll progress bar with vanilla js in 2 minutes or less by Nilay Vishwakarma

Code Sharing with React and React Native

HTML tips and tricks in OutSystems

React app to create a GitHub User Card

Integrating Swagger with a NestJS application

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abdo Amin

Abdo Amin

Front-end web developer and graduate student from Microverse.

More from Medium

Ultimate guide on how to effectively learn React!

5 Ways to Avoid React Component Re-Renderings

Deploying a react package to NPM

React: A Better Way to Code