2017-03-09 60 views

回答

0

從反應路由器2.0.0開始,你可以做這樣的事情:

<ReactRouter.Route path="*" component={Handle404} status={404}/> 
+0

這不起作用。客戶端不能發送/設置狀態碼 –