Workiva / Workiva/over_react

Async function into useEffect hook analysis option

Open
#634 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-analyzer-plugin Type: new feature
Dominant language
Dart
Stars
432
Forks
57
PR merge metrics
No merged PRs in 30d

Description

  • 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the useEffect API and the project's analysis configuration; the issue names no file or test. Use the supplied async callback snippet as the reproduction, and consider the work done when it produces a helpful analysis hint for this pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.