uclasoles/UCLA-SOLES-website

Look into why react-router Route doesn't want to take components in

Aperta

#27 aperta il 24 lug 2019

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (1 fork)auto 404
cleanupgood first issueimpact-low

Metriche repository

Star
 (3 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

For some reason you need to declare components in react-router Route component like this: <Route exact path={ROUTES.SIGN_UP} render={(props) => <SignUp {...props} />} /> instead of like this:

In order to not get red warnings on Mozilla FireFox.

Guida contributor