You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the routing in fluxible-router is case insensitive currently. i'd like to use case-sensitive routing..
it seems that fluxible-router uses routr, which in turn uses path-to-regexp, which has an option for this, but it's not possible to pass down this option to it.
Right you are. This should definitely be supported.
The line in routr that you pointed out just needs to pass options in as the third argument. These options are already propagated from new Router(routes, options). This resolves the support needed in routr.
fluxible-router will need a bit more work. I'm think we may need to create a RouteStore factory method that you could pass this (and other) option(s) to: createRouteStore(options). We would still provide the default RouteStore, but you'd be able to use createRouteStore to create one that's customized (similarly to how withStaticRoutes works).
the routing in fluxible-router is case insensitive currently. i'd like to use case-sensitive routing..
it seems that fluxible-router uses routr, which in turn uses path-to-regexp, which has an option for this, but it's not possible to pass down this option to it.
basically this line https://github.com/yahoo/routr/blob/master/lib/router.js#L38
needs to get an additional
{sensitive:true}
param at the end.what would be the best way to achieve this? (to be able to choose case-sensitive routing)
The text was updated successfully, but these errors were encountered: