I have a react-router 3.0.0 setup with a NotFound component I'm showing as a fallback:
<Route component={NotFound} path="*"/>
However this returns a redirect and the google crawler is complaining about soft 404s. Can I both redirect to my NotFound component and send a 404, similar to what Github does for instance? I've tried the following suggestion from here: How to let react router respond with 404 status code?
<Route component={NotFound} path="*" status={404}/>
But that just gives me a 404 without displaying the component.
How can the above be accomplished?