Writing on Javascript, tutorial or code snippet.

During the work I usually face some useful tips and I try to log them here.

A Typed Fetch Wrapper in TypeScript

Build a reusable, fully-typed FetchWrapper class in TypeScript that handles GET, POST, PUT, and DELETE requests. Covers generic return types, private methods, and how the TypeScript type system enforces correctness at every call site.

Tailwind with styled-components

This article introduces you a library for blending Tailwind with styled-components.

Master Browser Debugging: Unlock the Full Potential of JavaScript Console

Unlock the true power of JavaScript debugging with this detailed guide to various console methods. Move beyond basic console.log() and explore advanced functions like console.warn(), console.time(), and console.trace() to streamline your debugging process. Complete with code examples and visual aids, this article will elevate your debugging skills and help you write more efficient, robust code.

Javascript Naming Conventions for Importing modules

This article provides a comprehensive guide on the best practices for naming conventions when importing modules in JavaScript. From library and default imports to named and renamed imports, learn how to write clean, readable, and maintainable code. Additionally, understand the importance of grouping, sorting, and proper character usage to avoid common syntax errors.