Returns URL parameters globally, updating even when the route using it is not focused.
Unlike useParams, this hook updates on every navigation regardless of which route is active. Use this for analytics, background operations, or global UI that needs to react to all route changes.
Use useActiveParams for:
Use useParams for:
Edit this page on GitHub.