Re:Build Your Own React
by Tenemo on Thursday November 14, 2019 @09:44PM
(#21541812)
Since you are talking about using Redux, you most definitely can dispatch push actions with libs like connected-react-router or just use the history API directly (for things like replacing state instead of pushing). Most of the redirects I write are inside business logic and I don't like mixing <Redirect /> in there, too.
[ Parent
| on HN ]
There are no comments on this comment yet.