FormidableLabs / redux-little-router

A tiny router for Redux that lets the URL do the talking.
MIT License
1.04k stars 114 forks source link

Allow passing `options` for snd/url-pattern #227

Open jahed opened 7 years ago

jahed commented 7 years ago

As explained in snd/url-pattern#42, I need to be able to parse parenthesis in my named segment values, otherwise it results in a no-match.

Currently, it doesn't look like redux-little-router supports this, so might be worth adding in.

oleg-rdk commented 6 years ago

is really blocking!

So the options like described here https://github.com/snd/url-pattern#customize-the-pattern-syntax

uapasha commented 6 years ago

facing this too

ak1394 commented 6 years ago

Would like to see it configurable as well.

jkillian commented 6 years ago

Would love to see this as well! Ran into a case where I need to be able to accept .s as part of a path param. Which is a shame that it's not possible right now, because I'm trying to switch a large project from another routing library to redux-little-router, and everything has been going really well up to this point!

There does seem to be prior art: https://github.com/FormidableLabs/redux-little-router/pull/136

@tptee / @stefvhuynh are you willing to review / accept a new PR to add a feature for this?