Skip to content

Product Fetch is Causing Infinite Loop #4

Open
@sbmsr

Description

@sbmsr

Description

We are having issues with the product fetching in ProductTable.jsx. For some reason, useEffect is infinitely fetching new products. Can you read the effect hook documentation to help us fix this bug?

How To Reproduce

  1. Run the App Locally
  2. Open Chrome Inspector
  3. See that "Fetching Products..." is being printed infinitely
Fetch.Infinite.Loop.mov

Deliverables

  • Fix the effect hook to stop infinite loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: EasyA task that can be finished quicklyGood First IssuePlease start with these issues first.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions