---
title: "react-hooks/fbt"
description: "Reserved for problems with `fbt` translations in the React Compiler: reports nothing"
# Generated by src/codegen/lint-rule-docs.ts. Do not edit below this line.
plugin: "react"
aliases: ["react_hooks/fbt","react/fbt"]
kind: "problem"
category: null
default: "off"
fixable: "no"
typeAware: false
deprecated: false
---

This rule reports nothing. The React Compiler has a category for problems with `fbt`, a translation library, but none of its checks use that category. The rule exists because `eslint-plugin-react-hooks` has it, so a config that mentions it keeps working.

When the compiler can't handle something in an `<fbt>` element, such as two `<fbt:plural>` tags in one element, `react-hooks/todo` reports it.

{/* never reports */}

## Examples

Not reported:

{/* good */}
```jsx
import fbt from "fbt";

function Summary({ files, folders }) {
  return (
    <fbt desc="what was selected">
      <fbt:plural count={files} name="files">file</fbt:plural>
      <fbt:plural count={folders} name="folders">folder</fbt:plural>
    </fbt>
  );
}
```
