molefrog / wouter

🥢 A minimalist-friendly ~2.1KB routing for React and Preact

Home Page:https://npm.im/wouter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decoding URL params

jeerbl opened this issue · comments

Hi,

I have seen this bug #57, I was wondering if a release that had come out was fixing that?

Jerome

That's actually a really good one, thanks for bringing this up. We will plan this for V3.

Amazing, thanks @molefrog. Any estimated release date?

There is a published dev release that I am testing out in my own projects, however there are things that are blocking us:

  • There is going to be a slight breaking change in the Link component when we ship asChild prop. @jeetiss is currently working on it.
  • I am still trying to figure out how to add support for optional wildcards that aren't supported by regexparam yet.

Once things above are resolved, I am going to release the first beta and write a migration guide so you can start using it in your code.

Beautiful, thanks @molefrog :)