How does thunk enhance Redux?

  • By adding built-in security features.
  • By allowing asynchronous action creators.
  • By providing a styling framework.
  • By simplifying the reducer logic.
Thunk enhances Redux by enabling asynchronous action creators. Thunk is a middleware that allows you to write action creators that return functions instead of plain objects. These functions can perform async operations, making it easier to manage async flows in Redux applications.
Add your answer
Loading...

Leave a comment

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