Sean AmarasingheinStackademicHow to Debug Refs Inside Hooks in ReactDebugging refs inside hooks in React can sometimes be tricky, but there are a few strategies you can use to make it easier. Here’s a guide…Sep 24Sep 24
Sean AmarasingheWhat’s the difference between Nullish Coalescing (??=) and Logical OR (||=) assignment?In JavaScript, the ??= and ||= operators are shorthand assignment operators introduced in ES2021 (ECMAScript 2021). They are used to…Sep 6Sep 6
Sean AmarasingheHow to style scrollbar without gutter in TailwindTo create a custom scrollbar in Tailwind CSS without adding gutter space, you can use Tailwind’s plugin system to define custom utilities…Jul 27Jul 27
Sean AmarasingheAvoiding Memory Leaks in Node.jsMemory leaks are a common challenge every developer faces. As applications grow, efficient memory management becomes crucial. Poor memory…Jul 19Jul 19
Sean AmarasingheJavaScript Design Patterns: StructuralDesign patterns offer sophisticated object-oriented solutions for frequently encountered software challenges. Patterns are about reusable…Jul 8Jul 8
Sean AmarasingheJavaScript Design Patterns: BehavioralDesign patterns offer sophisticated object-oriented solutions for frequently encountered software challenges. Patterns are about reusable…Jul 5Jul 5
Sean AmarasingheJavaScript Design Patterns: CreationalDesign patterns offer sophisticated object-oriented solutions for frequently encountered software challenges. Patterns are about reusable…Jul 2Jul 2
Sean AmarasingheUnderstanding keyof, extends and never keywords in TypeScriptWhen working with more complex types, your code will likely expand, and you may encounter instances of code duplication. To maintain DRY…Jun 26Jun 26
Sean AmarasingheTypeScript Features You Should No Longer UseTypeScript was created by Microsoft in 2010 to address certain shortcomings in JavaScript, such as the lack of module systems, classes…Jun 24Jun 24
Sean AmarasingheWhat’s coming to JavaScript with ES2024After the proposed new features reach stage 4, has been approved by the ECMA General Assembly, they will be added to the JavaScript, which…Jun 20Jun 20