Creating Immutable Objects in JavaScriptEver copied an object, tweaked a property, and then realized both the OG and the copy got changed? Yeah, same. Objects stand as the cornerstone of JavaScript, forming one of its six primary types. By default, objects are mutable — their properties an...Sep 11, 2024·13 min read
Lexical this : How this works in Arrow FunctionsTraditional functions in JavaScript follow four common rules that dictate how this resolves during invocation. However, with the advent of ES6, arrow functions emerged as an alternative to traditional functions. They diverge from the standard this bi...Jun 4, 2024·11 min read
Clearing Up Common Misconceptions about the this Keyword in JavaScriptThe JavaScript this keyword often finds itself at the center of debates among developers, labeled as a source of confusion that contributes to JavaScript's perceived complexity. However, delving into its intricacies reveals that this isn't as complex...Mar 26, 2024·7 min read
Uploading Images to Supabase with Express JS, Multer and VueI am going to keep this short because I’m guessing you’ve been scouring the net, tutorial after tutorial, blog after blog hunting for a solution (like I did 🥲). If you're struggling to send images to your server or upload them to Supabase, this blog...Mar 4, 2024·9 min read
Resolving "Paths Cannot Find Module" Error in tsconfig.jsonRelative imports can quickly clutter up your codebase, making it difficult to maintain and understand. That's where aliasing comes in handy, allowing you to simplify your import statements and keep your code clean. However, as I recently discovered, ...Feb 23, 2024·4 min read