While working on user profile page basics, I had to add support for subrouting on the client-side.

Luckily, with the URLPattern API, it's as simple as this

export const match = '/user/:userId/:tab?'

#javascript #frontend #webdev #buildinpublic #navigation #dev

Comments