You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> -[React calls Components and Hooks](https://react.dev/reference/rules/react-calls-components-and-hooks)
19
+
20
+
</div>
21
+
9
22
*Hooks* are a new addition in React 16.8. They let you use state and other React features without writing a class.
10
23
11
24
Hooks are JavaScript functions, but you need to follow two rules when using them. We provide a [linter plugin](https://www.npmjs.com/package/eslint-plugin-react-hooks) to enforce these rules automatically:
0 commit comments