Why do we need redux-thunk?

Redux Thunk middleware allows you to write action creators that return a function instead of an action . The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met.

Sizin İçin Seçtik  How do you check react Redux is installed or not?

Leave a Reply

Your email address will not be published. Required fields are marked *