Skip to content

Commit 4465d77

Browse files
committed
docs: rebuild docs
1 parent 2c5709b commit 4465d77

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/core/docs/functions/isReactHookName.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@
88

99
> **isReactHookName**(`name`): `boolean`
1010
11+
Catch all identifiers that begin with "use" followed by an uppercase Latin
12+
character to exclude identifiers like "user".
13+
1114
## Parameters
1215

1316
### name
1417

1518
`string`
1619

20+
The name of the identifier to check.
21+
1722
## Returns
1823

1924
`boolean`
25+
26+
## See
27+
28+
https://github.com/facebook/react/blob/1d6c8168db1d82713202e842df3167787ffa00ed/packages/eslint-plugin-react-hooks/src/rules/RulesOfHooks.ts#L16

0 commit comments

Comments
 (0)