Problem Description

Fetch data in an effect and cancel when the component unmounts.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use AbortController and ignore results when aborted.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next