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