W3cubDocs

/React Router

Location

The term "location" in React Router refers to the Location interface from the history library.

The history package is React Router's only dependency and many of the core types in React Router come directly from that library including Location, To, Path, and others. You can read more about the history library in its documentation.

© React Training 2015-2019
© Remix Software 2020-2022
Licensed under the MIT License (MIT).
https://reactrouterdotcom.fly.dev/docs/en/v6/utils/location