preact-router icon indicating copy to clipboard operation
preact-router copied to clipboard

Tiny relative links solution

Open developit opened this issue 8 years ago • 2 comments
trafficstars

Just an alternative thought for #138. This only handles the case of relative links in an HTML document - it doesn't account for route('./foo'). Perhaps they are worth treating separately given the different in implementation complexity. This PR actually drops the lib size by a few bytes.

developit avatar Apr 18 '17 00:04 developit

I believe this needs to steal from the other relative links PR to enable route('./foo')

developit avatar Sep 25 '17 15:09 developit

Does Preact currently support relative URLs? If not, is there a suggested solution to adding query parameters to a current history entry?

FallingSnow avatar Mar 02 '20 23:03 FallingSnow