uclasoles/UCLA-SOLES-website

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

オープン

#27 opened on 2019/07/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (1 件のフォーク)auto 404
cleanupgood first issueimpact-low

Repository metrics

Stars
 (3 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド