Content deleted Content added
Tag: Reverted |
Apparition11 (talk | contribs) m Restored revision 1089923502 by Apparition11 (talk): Spam |
||
Line 142:
# Hooks should only be called from React function components and custom hooks, not normal functions or class components.
Although these rules can't be enforced at runtime, code analysis tools such as [[Lint (software)|linters]] can be configured to detect many mistakes during development. The rules apply to both usage of hooks and the implementation of custom hooks,<ref>{{Cite web|url=https://reactjs.org/docs/hooks-custom.html|title=Building Your Own Hooks – React|website=reactjs.org|language=en|access-date=2020-01-24}}</ref> which may call other hooks.
==Common idioms==
Line 410:
*[[Comparison of JavaScript libraries]]
*[[Web Components]]
==References==
{{Reflist|2}}
==External links==
|