+ 1

What is Redux thunk. How to implement it on reactjs?

I want to know about redux-thunk I am now learning redux through the react JS can you provide some links about in simple understable language.

13th Nov 2020, 3:46 PM
Sultan
2 Respostas
+ 3
Redux thunk basically allows you to dispatch asynchronous actions (API calls for instance). To implement it, install it then add it to your redux store as a middleware. You can find the installation guide in their GitHub.
13th Nov 2020, 5:40 PM
CHMD
CHMD - avatar
+ 2
KINGDX Thanks for the support
13th Nov 2020, 6:04 PM
Sultan