Closed neilenns closed 1 year ago
It's very likely because userContext.token changes and that forces the page to redraw. There's gotta be a way to avoid that.
The original code example did NOT include the userContext.token property in the dependencies. ESLint forced me to add it though. Maybe that's the issue?
It's very likely because userContext.token changes and that forces the page to redraw. There's gotta be a way to avoid that.