Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
localpost4203160dright, if they're gonna refresh the token automatically, they should do it at least a few seconds *before* the old one expires.
-
jestdotty5403160dhad a dude commit alert boxes into prod like that once, then I kept having to chase him every time and argue with him to fix it
HR hired him after that (he was a temp before)... seemingly because of his personality. think he was funny to her or something. not sure where he got sent after that but it wasn't to me so that was fine -
localpost4203160dAlso, no try/catch around those awaits. A rejected token refresh will just silently throw and leave you logged in
-
thebiochemic3012159d@localpost pretty sure you can't specify a return type in JS. So yeah, definitely TS.
Doesn't make it any less bad 🤷 -
tosensei8425155d@localpost typescript is just javascript that lies to you about having support for types.
same bullshit, only more frustration because it sets higher expectations to not meet.
Related Rants
How to detect a bad programmer ...
joke/meme
bad programmers
joke