Closed nodegin closed 9 years ago
In addition, is there any support for optional parameter? just like
<Location path="/:prop1/:prop2?" handler={MyComp} />
thanks!
The default optional parameter format is to wrap it in ()
<Location path="/:prop1(/:prop2)" handler={MyComp} />
the default url pattern compiler will need to be tweaked for the underscore characters.
@jsg2021 thanks a lot
Thanks for handling this @jsg2021
no problem :)