In my Flutter Redux app I have an authentication middleware that takes care of user authentication calls to an external authentication service.
If I want to redirect to another screen on certain responses (for example, go to home screen when the login action is successful) - is it recommended to handle that in the middleware or are there other best practice approaches?
I used to use redux in the web and it's recommended to handle navigation in middleware, you can call
Navigator.of(context).pushNamed("youRoute")
in your middleware or you can use NavigationMiddleware.