Proper way of accessing the `history` object from redux thunks?

后端 未结 0 1792
感情败类
感情败类 2021-01-11 17:14

I have some redux thunks that need to call history.push().

It first I was trying to avoid having to pass the history object in the thunk cal

相关标签:
回答
  • 消灭零回复
提交回复
热议问题