Bereaksi Router 404 Redirect
<Route path='*' exact={true} component={My404Component} />
// Or don't mention path
<Route component={My404Component} />
Salo Hopeless
<Route path='*' exact={true} component={My404Component} />
// Or don't mention path
<Route component={My404Component} />