---
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 `<Link>` components. This is useful if
you need to create custom `<Link>` components with the same click behavior we
use in our exported `<Link>`.



## Signature

```tsx
useLinkClickHandler(to, __namedParameters): undefined
```

## Params

### to

[modes: framework, data, declarative]

_No documentation_

### __namedParameters

[modes: framework, data, declarative]

_No documentation_

