You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v1/v2 we gave precedence to the most-recently-registered Route when choosing the matching Route in our Router.
This was a somewhat arbitrary choice (I can't remember the original decision) and has periodically caused confusion, and in practice, has led to issues like #839
I'm cool with switching to making the earliest-registered Route take precedence in v3, which would match how things work in, e.g., Express.
The text was updated successfully, but these errors were encountered:
Is there anywhere we should track breaking changes like this? We could just do a markdown doc on webfundamentals workbox-v3 branch. We can all commit, it's public and will most likely be a good place to host the changelog. Thoughts?
Library Affected:
workbox-routing
In v1/v2 we gave precedence to the most-recently-registered
Route
when choosing the matchingRoute
in ourRouter
.This was a somewhat arbitrary choice (I can't remember the original decision) and has periodically caused confusion, and in practice, has led to issues like #839
I'm cool with switching to making the earliest-registered
Route
take precedence in v3, which would match how things work in, e.g., Express.The text was updated successfully, but these errors were encountered: