Tag: js
All the articles with the tag "js".
My posts
AI-powered development: Chrome extension with Gemini
Published: at 04:00 PMEver wondered if AI could replace developers? I put Gemini to the test by asking it to create a simple Chrome extension. What seemed like a straightforward task turned into a curious journey with unexpected twists. Did the AI succeed, or did it fall short? Dive into this article to find out how well Gemini handled the challenge of coding in the real world.
AI-powered development: Chrome extension with ChatGPT
Published: at 04:00 PMEver wondered if AI could replace developers? I put ChatGPT to the test by asking it to create a simple Chrome extension. What seemed like a straightforward task turned into a curious journey with unexpected twists. Did the AI succeed, or did it fall short? Dive into this article to find out how well ChatGPT handled the challenge of coding in the real world.
Tech Watch Posts
JavaScript Visualized: Event Loop, Web APIs, (Micro)task Queue
Published: at 02:53 PMLearn how the browser event loop, task queue, microtask queue, and Web APIs work together to enable non-blocking, asynchronous JavaScript.
Web Components Demystified
Published: at 02:47 PMScott Jehl released a course called Web Components Demystified. This is my full set of notes from Scott's course.
Four fundamental design patterns
Published: at 02:47 PMMaster four essential design patterns for better software architecture. This comprehensive guide explores Observer, Strategy, Factory, and State patterns with practical JavaScript examples, highlighting common problems they solve, when to use them, and real-world applications for modern developers.
Working Effectively with Libraries (facade pattern)
Published: at 02:41 PMLearn how to implement the facade pattern to simplify HTTP requests in your web applications. This practical guide demonstrates how to create a clean abstraction layer that centralizes error handling, authentication, and request logic while maintaining flexibility across different HTTP libraries.
Introduction to handling permissions
Published: at 02:38 PMLearn how to scale permission systems in your applications—from basic role checks to sophisticated attribute-based access control (ABAC). This practical guide walks developers through common permission patterns, showing how to evolve from simple role-based systems to flexible, maintainable permission structures that handle complex business rules. Perfect for frontend and TypeScript developers looking to implement robust authorization in their applications.
ESLint now officially supports linting of CSS
Published: at 01:55 PMESLint now supports CSS linting through the official @eslint/css plugin, featuring validation rules, tolerant parsing, and custom syntax support including Tailwind. Learn how to configure and use CSS linting in ESLint.
Learning web extensions
Published: at 01:49 PMLearn the fundamentals of browser extension development, from manifest.json to content scripts and background scripts. A beginner-friendly guide with practical examples and code snippets.
JavaScript Temporal is coming
Published: at 02:17 PMA new way to handle dates and times is being added to JavaScript. Let's take a look at Temporal, what problems it solves, the current state, and what you'll find in the new documentation about it on MDN.
Getting into web components - an intro
Published: at 02:22 PMThe year 2024 might be a big one for web components. I just started out with learning about them in a deeper level. In this article, some of the basics and lingo.
Using Transformers.js for AI in the Browser
Published: at 03:22 PMA look at Transformers.js and doing GenAI work in the browser.