Skip to content

Route matching like in express #1120

Sep 13, 2023 · 3 comments · 18 replies
Discussion options

You must be logged in to vote

Just released [email protected] which should now work for BurdaForward's globs in the middle use cases.

(FYI it turned out to be complex to support all edge cases; a linear processing of the route string doesn't work in some important scenarios, even for only a single glob *. To avoid exploding complexity (and therefore bundle size), the route strings are now transformed into a RegExp. The good news is that the new router is now not only much more feature rich regarding globs but also slightly less KBs than the previous implementation.)

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
1 reply
@ChristophP
Comment options

Comment options

You must be logged in to vote
5 replies
@brillout
Comment options

@ChristophP
Comment options

@brillout
Comment options

@ChristophP
Comment options

@brillout
Comment options

Comment options

You must be logged in to vote
12 replies
@ChristophP
Comment options

@brillout
Comment options

@ChristophP
Comment options

@brillout
Comment options

Answer selected by brillout
@ChristophP
Comment options

@brillout
Comment options

@ChristophP
Comment options

@brillout
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants