you have a simple example?
No, they are not the same, but both could solve your problem. If i were you i would choose redux thunk as a more simple solution. You can read more about it here: https://github.com/reduxjs/redux-thunk
But first you need to know, what a redux middleware is. These are the basics of redux, if you dont know it, then you should go through tutorials on official website of redux
Обсуждают сегодня