• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in React JS by
Q:

What is Redux Thunk?

1 Answer

0 votes
by

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. The inner function receives the store methods dispatch() and getState() as parameters.

Related questions

0 votes
asked Jun 19, 2020 in React JS by JackTerrance
  • #reactjs
0 votes
+1 vote
asked Jun 25 in Redux by SakshiSharma
0 votes
asked Jun 19, 2020 in React JS by JackTerrance
...