Skip to main content

App sends its startup API requests twice on load

how to reproduce:

  1. open dev tools → Network tab, filter to /api/

  2. load or refresh flackle.com/app while logged in

  3. look at the requests made during startup

expected: each startup request is made once.

actual: the same requests run twice back to back, including /api/entry, /api/auth/entry, /api/friends/requests, /api/ws/url, /api/voice-states, /api/conversations/messages?ids=…, and GET /api/servers/{id}/channels plus /channels/{id}/messages?limit=50 for every server I’m in. With ~10 servers that’s about 25 extra requests on every load, which slows startup and adds server load. Might be React strict mode / a double-mounted effect or the auth bootstrap running twice.

browser: Brave (Chromium 155) on Windows 11

Platform
Web
OS version
Windows 11
Flackle version

Log in to comment and vote

No comments yet

Be the first to share your thoughts.