6th - Another cleanup session. moved message fetching to tanstack query so i could delete like 50 lines of manual polling code. fixed the notification sound not playing (browser autoplay policy is annoying). fixed delete mailbox clearing localStorage even when the server request fails. added error handling in a bunch of places where it was missing. removed dead code.
tanstack query is really nice once you set it up but the default behavior around networkMode: "online" and staleTime can bite you. the query just silently skips if youre offline which is confusing
thats it
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.