You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
Issue
A user's access token is refreshed on an interval in app/components/Home.js. I'm uncertain whether this is an appropriate file for that logic. The dilemma is when that component unmounts, the interval is cleared. This isn't an immediate issue, since nearly the entire app lives within the Home component, but if another page were introduced in the future that depends on the YouTube API, this logic could become problematic. If it's decided that the refresh logic is in the appropriate file, then perhaps only the clearInterval needs removed.
The text was updated successfully, but these errors were encountered:
Issue
A user's access token is refreshed on an interval in
app/components/Home.js
. I'm uncertain whether this is an appropriate file for that logic. The dilemma is when that component unmounts, the interval is cleared. This isn't an immediate issue, since nearly the entire app lives within theHome
component, but if another page were introduced in the future that depends on the YouTube API, this logic could become problematic. If it's decided that the refresh logic is in the appropriate file, then perhaps only theclearInterval
needs removed.The text was updated successfully, but these errors were encountered: