preact-router
preact-router copied to clipboard
Rebase #100
Rebase #100 against current master
Oh wow this is a lot of work, thanks a million. I noticed you published preact-router-nested to npm - are you successfully using this PR? That helps make sure it's good to go 👍
Glad to help. I did use it but only very briefly, so can't vouch for it all that much, but it did seem to work as intended.
The reason I didn't use it very much was that I was finding it cumbersome in my personal use case, nesting all the routes in the layout I wanted. Then there's basePath
and path
props issues that you need to deal with, especially if you're also implementing a navigation to go along with all the nested routes. I created something different that suits my needs better: https://github.com/laggingreflex/dynamic-router, at least for now.
@developit whats needed to get this or #100 merged?
Just some thorough battle testing (or more unit tests?)
Hi quickly updated - https://github.com/developit/preact-router/pull/293