ranty
How To - NextJS + Websockets + http-only cookies
NextJS doesn't support websockets or proxying them. It's middleware act's like its running on the edge instead of nodejs. Andddd their cookie library isn't configurable. Here are my techniques for getting around all these problems and get this whole thing to work - begrudingly.
November 26, 2023
UNPUBLISHED
|
How I Get Value Out of Automated Testing
I've seen a ton of post's lately on Twitter, hackernews, etc. All effectively saying "yolo more". Yea that's cool and all, but honestly I actually find true yolo to be much slower and low leverage than just having a decent test harness. Before I start - I'm not advocating for TDD nor am I advocating for really trivial/low value unit tests.
March 5, 2023
UNPUBLISHED
|