no you can't use it like that. You need to use store.dispatch method to achieve the same thing (import store from your redux use the function as thunk)