TWIL May 29th 2026
- Vite is great, but different behaviour in dev/prod makes it very difficult to roll out with confidence
- Especially when building and previewing locally doesn't work well with the way the project is set up
- Not having types for your JS package should be a crime; how am I meant to know it crashes unless the options object has an
attributeskey? - Make sure you don't have 'Persist Logs' on when trying to figure out why cached files are still being served
- Vite (8 at least) has
oxcbuilt in as a minifier - Alternatives to passing sensitive info in query params; when you can't just make a
POSTrequest- Include it as a header
POSTto a different endpoint which sets a cookie, then read the cookie in theGETendpointPOSTto a different endpoint which creates server side state linking an identifier to the PII, then include the identifier in the redirect URL
- Account managers are not the people to ask technical questions
- LLMs do not have domain knowledge for a lot of things
- e.g. cannot tell you 'your team owns this code, so don't pawn it off to another team'
Links
- How the heck do traffic lights work - Shri Khalpada
Interesting as always; didn't know one of the two major traffic control systems in the world was developed in Aus either. Wonder if I'll ever work on something like that.