Thunk
aka Thunks
References
redux-thunk
↔redux
sub-library to Thunk Redux Middleware forredux
for logic to interact with Dispatch &getState()
- to delay dispatch for action until condition met . extends redux actions to return functions that can be executed by thunk middleware, allows side-effects such as async api calls.@reduxjs/toolkit/query
↔ RTK query API to Data Fetch/Cache & replace Thunk