# jsx-no-bind

Rule `react/jsx-no-bind`. Disallow `.bind()` or arrow functions in JSX props

- Source: react
- Technologies: React
- Kind: performance
- Needs type information: no
- Autofix: no
- Reach: 5.5M weekly downloads of presets that enable it
- Trend: +32.0% last quarter
- Rank: #1405 by reach, #1089 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `react/jsx-no-bind` | no | no | package `eslint-plugin-react` | [docs](https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/jsx-no-bind.md) |
| Biome | `performance/noJsxPropsBind` | no | no | group performance, since 2.3.11 | [docs](https://biomejs.dev/linter/rules/no-jsx-props-bind/) |

## Code examples

### Incorrect: the rule reports this

```jsx
<Foo onClick={this._handleClick.bind(this)}></Foo>
```

```jsx
<Foo onClick={() => console.log('Hello!')}></Foo>
```

```jsx
function onClick() { console.log('Hello!'); }
<Foo onClick={onClick} />
```

### Correct: the rule accepts this

```jsx
<Foo onClick={this._handleClick}></Foo>
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import react from "eslint-plugin-react";

export default [
  {
    plugins: { react },
    rules: {
      "react/jsx-no-bind": "error",
    },
  },
];
```

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "performance": {
        "noJsxPropsBind": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [Airbnb](https://lintradar.dev/presets/airbnb.md) | ESLint | `eslint-config-airbnb` | 346 | 3.4M | +2.3% |
| [Ultracite for Biome](https://lintradar.dev/presets/ultracite-biome.md) | Biome | `ultracite` | 616 | 2.1M | +151.7% |

## Related rules

- [react/jsx-fragments](https://lintradar.dev/rules/react/jsx-fragments.md): Enforce shorthand or standard form for React fragments
- [react/jsx-filename-extension](https://lintradar.dev/rules/react/jsx-filename-extension.md): Disallow file extensions that may contain JSX
- [react/no-did-update-set-state](https://lintradar.dev/rules/react/no-did-update-set-state.md): Disallow usage of setState in componentDidUpdate
- [react/no-unstable-nested-components](https://lintradar.dev/rules/react/no-unstable-nested-components.md): Disallow creating unstable components inside components
- [react/jsx-curly-brace-presence](https://lintradar.dev/rules/react/jsx-curly-brace-presence.md): Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
- [react/jsx-no-script-url](https://lintradar.dev/rules/react/jsx-no-script-url.md): Disallow usage of `javascript:` URLs

---

Web page: https://lintradar.dev/rules/react/jsx-no-bind. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
