Use Location components

Use Location

A hook that allows you to access and manage the current location in your application

šŸ“ useLocation Hook Preview

Observe changes in the browser's location state in real-time.

Triggered by: load

state

null

length

1

hash

host

hostname

href

origin

pathname

port

protocol

search

Variants list