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

Async function into useEffect hook analysis option #634

Open
matthewnitschke-wk opened this issue Oct 12, 2020 · 0 comments
Open

Async function into useEffect hook analysis option #634

matthewnitschke-wk opened this issue Oct 12, 2020 · 0 comments

Comments

@matthewnitschke-wk
Copy link
Contributor

  • Issue Type: FEATURE REQUEST
  • over_react Version(s): x.x.x

This snippet will not work as intended

useEffect(() async {
  // await something();
});

Adding an analysis hint for this would help developers unfamiliar with the edge cases of useEffect would be helpful


FYI: @greglittlefield-wf @aaronlademann-wf @kealjones-wk @evanweible-wf @maxwellpeterson-wf

@matthewnitschke-wk matthewnitschke-wk changed the title Add analysis option for passing an async function into a useEffect hook Async function into useEffect hook analysis option Oct 12, 2020
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