main
Branches
main (6.22.3)dev
Versions
6.22.3v4/5.xv3.x
Location

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.

Docs and examples CC 4.0
Edit