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
The Turbo-internal `Location` class' responsibilities overlap almost
entirely with the browser-provided [URL][] class. In addition, Turbo's
`Location` class name conflicts with the browser-provided [Location][]
class, which is itself an almost `URL`-compliant interface.
This commit removes the Turbo-internal `Location` class, and modifies
all consuming interfaces to use `URL` instead.
The properties and functions that do not have corresponding
[URL][]-provided versions have been extracted to the `src/core/url.ts`
module.
[URL]: https://developer.mozilla.org/en-US/docs/Web/API/URL
[Location]: https://developer.mozilla.org/en-US/docs/Web/API/Location
0 commit comments