Allow customizing basis of route detection#1977
Conversation
|
I am not sure how to write tests for this. Any guidance regarding how to emulate the |
|
@SOF3 You might find this section of the wasm-bindgen guide for testing in browsers useful. I would imagine that something like "open browser" -> "use appropriate function in |
This is how this PR should be implemented. In the current state, it would be easier to re-create this PR from a fresh slate. I will leave this open though. One more thing I would like to add: it'll be better to use |
|
@hamza1311 Actually im closing this since the author has not updated it for too long, |
Description
Allow choosing
pathname,queryorhashto detect the route.Checklist
I have run
cargo make pr-flowI have reviewed my own code
I have added tests