Posts RSS Feed
All the articles I've posted.
Migration from Jest to Vitest: Complete feedback on a React/TypeScript project
Published: at 04:00 PMComplete step-by-step guide to migrate from Jest to Vitest in a React/TypeScript project. Includes ESM handling, performance optimization, and real-world solutions from a 2900+ tests migration.
Why aiming for 100% coverage can be a mistake
Published: at 01:34 PMDiscover why aiming for 100% test coverage in software development can be counterproductive. Learn practical strategies to focus on core functionality, avoid unnecessary tests, and improve code quality without wasting resources.
Text Truncation with Ellipsis on Multiple Lines
Published: at 04:00 PMLearn effective CSS techniques for text truncation with ellipsis, covering both single-line and multi-line methods. This guide explains how to implement classic text overflow, use WebKit's line-clamp for multiple lines, and create fallback solutions for cross-browser compatibility. Ideal for web developers aiming to improve content display and user experience in limited spaces.
Responsive Images: a quick example with react
Published: at 03:00 PMOptimizing web performance is a priority for any developer. One key aspect to consider is how images are handled across different devices. In this article, we will explore how to create responsive images with React. The goal is to display different images based on the screen size.
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.
Cross-Origin Resource Sharing (CORS): A Comprehensive Guide
Published: at 04:00 PMDetailed explanation of the CORS (Cross-Origin Resource Sharing) security mechanism. Covers the definition, importance, functionality, and common CORS errors with their solutions. Includes code examples for both server-side and client implementation. Comprehensive guide for developers dealing with cross-origin requests and associated security issues.
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.
Example of Using useSyncExternalStore with LocalStorage
Published: at 06:26 PMLearn how to efficiently synchronize application state with external data sources like LocalStorage using React's useSyncExternalStore hook, with a practical example and detailed explanation.