In React / Redux, thunks enable us to avoid directly causing side effects in our actions , action creators, or components. Instead, anything impure will be wrapped in a thunk. Later, that thunk will be invoked by middleware to actually cause the effect.
Read moreHow do you use thunk in react redux?
Redux Thunk can be installed by running npm install redux-thunk –save or yarn add redux-thunk in the command line .1 Şub 2020
Read more