Multiple params with React Router

前端 未结 3 1472
自闭症患者
自闭症患者 2020-12-04 18:02

I use React 15.0.2 and React Router 2.4.0. I want to pass multiple params to my route and I\'m not sure how to do it in the best way:



        
3条回答
  •  半阙折子戏
    2020-12-04 18:36

    For the optional param fields, for some reason it works fine without the slash before the colon inside the braces (). React-router 2.6x

提交回复
热议问题