Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(JS-0820) Detected the violation of rules of hooks #10

Open
niwla23 opened this issue Nov 26, 2021 · 0 comments
Open

(JS-0820) Detected the violation of rules of hooks #10

niwla23 opened this issue Nov 26, 2021 · 0 comments

Comments

@niwla23
Copy link
Owner

niwla23 commented Nov 26, 2021

Description

Rule 1: Only Call Hooks at the Top Level. Don’t call Hooks inside loops, conditions, or nested functions. Instead, always use Hooks at the top level of your React function. By following this rule, you ensure that Hooks are called in the same order each time a component renders. That’s …

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/niwla23/schulhack/issue/JS-0820/occurrences/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant