Moved to a new domainHello to anyone that might reach this website! Just want to let you know that I've changed the place where I publish and build new things. You can find things I'm up to on apisurf.dev. Cheers!1 min read·apisurfer.comMay 4
My first thoughts on Next.js 13 and the new app routerExamine Next.js 13's drawbacks: developer experience, maintainability, organization, debugging, and potential Vercel lock-in5 min read·apisurfer.comJan 13, 2024
JS Date constructor timezone odditynew Date('YYYY-MM-DD') might not do what you think it does4 min read·apisurfer.comJan 10, 2024
Testing complex flag conditions and ensuring complete case coverageRecently I stumbled upon an interesting test case where I needed to cover many possibilities and make sure everything continues to work as intended in the future. I had 7 boolean flags that needed to be used to toggle an app functionality. It's a bit...3 min read·apisurfer.comAug 25, 2023
Minimal example of file upload using Next.js app routerSome old methods of accessing uploaded file contents inside a Next.js route handler don't work anymore or at least not in a way many tutorials explain it. E.g. many outdated online examples use page router which has route handlers that receive differ...2 min read·apisurfer.comAug 19, 2023