--- title: useLinkClickHandler --- # useLinkClickHandler [MODES: framework, data, declarative] ## Summary [Reference Documentation ↗](https://api.reactrouter.com/v7/functions/react_router.useLinkClickHandler.html) Handles the click behavior for router `` components. This is useful if you need to create custom `` components with the same click behavior we use in our exported ``. ## Signature ```tsx useLinkClickHandler(to, __namedParameters): undefined ``` ## Params ### to [modes: framework, data, declarative] _No documentation_ ### __namedParameters [modes: framework, data, declarative] _No documentation_