Hintful / aram.tools

A full-stack web application that analyzes and visualizes users' performance for a popular online game, League of Legends.
https://aram.tools
2 stars 0 forks source link

Issue where match fetching API is repeatedly called in Match History even after being loaded #58

Closed Hintful closed 1 year ago

Hintful commented 1 year ago

Problem

The backend API is repeatedly being called for no reason even after the match data have been finished loading. This is causing the match history section data to sometimes show values like NaN for a brief moment and then returning back to normal values. useState hooks and useEffect hooks use must be fixed so that the API is only called when necessary.

Acceptance Criteria

Hintful commented 1 year ago

The issue has been resolved via PR #61. Resolving.