srjsdev.hashnode.devLet Service Workers Help Speed Up Your Site Performance by 10XAs I was recently converting a personal project into a PWA, I started to learn about service workers. I knew a little bit, but after some more digging (and even more debugging), here's the summary of what you should take away: Service Workers are al...Mar 7, 2023ยท6 min read
srjsdev.hashnode.dev3 New Features of Deno that Most JS Devs Don't Know AboutDeno is a modern, secure, and performant runtime for JavaScript and TypeScript. It is often compared to its progenitor NodeJS, and its zippy younger brother BunJS. Among Deno's main features are: Built-in Modules: Deno comes with a standard library ...Feb 2, 2023ยท3 min read
srjsdev.hashnode.devGenerator Functions: Zero to HeroHello and welcome. Huh? You're going to teach me about something I don't absolutely need to know? Yes, that's right. Let me explain first, and then you can decide whether to read on or not. But if you stick around, I think you'll enjoy the ride while...Jan 20, 2023ยท6 min read
srjsdev.hashnode.dev101 Ways to Work with Arrays in JavaScriptArrays are a great way to store and manipulate data in JavaScript. As such, there are many methods provided in JavaScript for manipulating Arrays. Manipulating Individual Values To manipulate (i.e. mutate/change) an Array, you can use built-in array ...Jan 2, 2023ยท4 min read
srjsdev.hashnode.devAsync Promise cache PART 2: Invalidation strategies (with solutions!)๐ Editor's Note: Please read PART 1 to understand how/when to use a Promise cache. Since my previous article, many people have asked me how to approach cache invalidation. It's a fair question, given its prominence among the top two hardest challen...Dec 2, 2022ยท5 min read