How to create an electron-forge project with React, Typescript and HMRAs a react developer, I've always been used to magic CLIs that scaffold projects with everything included, such as Next.js or create-react-app. I don't think I ever setup react from scratch, but there is no electron-forge template for that, so I had ...Jun 14, 2020hashnode.badia.cc
How to change electron forge's render portI just started using electron-forge and I stumbled across a problem : when trying to change the renderer's port (that runs by default on port 3000), my changes to the webpack file were ignored... I found out on their github that they override the web...Jun 14, 2020hashnode.badia.cc
How I read react websites unminified source code through source mapsHave you ever heard about source maps ? They are the files that link minified js files to the original source file, allowing the browser to show you where the error is in the debugger. It’s very useful for development purpose but can also be used in ...Jun 10, 2020hashnode.badia.cc
How to avoid and debug most of timezone problems in productionHave you ever been struggling to reproduce a weird bug happening only on production? Some offset between what you have in local (that obviously works perfectly) and what your clients see on this evil, inaccessible server? If you're using anything ot...1XMay 20, 2020hashnode.badia.cc
Fixing class-validator issues in a new Nest js projectThis weekend, I played a bit with this express-based node.js framework called Nest. But I'm a bit rusty when it comes to backend. I was coding in PHP... years ago. I am a React developer myself, and in my daily tasks, I write Components with flow ty...Apr 5, 2020hashnode.badia.cc