JavaScript: Guides and Practical Know-how | Page 4 | mironsoft Blog
JavaScript
-
Feb 25, 2026
When animations depend on runtime values, need to be interruptible, or must synchronize with other animations, pure CSS hits its limits. The Web Animations API solves exactly that, with the same performance as native CSS animations.
-
Feb 24, 2026
Astro renders pages without any client-side JavaScript by default and only ships interactivity where it is actually needed. Alpine.js and Astro Islands together are the lightest combination for that model: a single small library instead of a full React or Vue bundle per interactive island.
-
Feb 17, 2026
Anyone who needs to produce reports, invoices, or certificates as PDF can use the same Tailwind CSS template that already runs in the browser. Puppeteer remotely controls headless Chrome and calls page.pdf(), so the layout, including flexbox, grid, and custom properties, is carried over faithfully into the PDF.
-
Feb 16, 2026
Rendering 10,000 DOM elements at once brings any browser to a crawl. Virtual scrolling solves the problem: only the visible elements actually exist in the DOM, while everything else is simulated with correctly sized placeholders. The result is a smooth scrollbar with no performance loss, achievable with Alpine.js and the native IntersectionObserver.
-
Feb 5, 2026
The Date object is one of the oldest and most error-prone parts of JavaScript. The Temporal API breaks with all of its design flaws: immutable types, explicit time zone semantics, correct calendar arithmetic and a clear API, without external libraries like Moment.js or date-fns.
-
Feb 3, 2026
Two underrated Intl APIs take over work teams usually handle with hand-rolled translation tables: grammatically correct list phrasing and localized names for languages, regions, and currencies, built right into the browser engine.
-
Jan 31, 2026
One hundred percent code coverage only means every line was executed once, not that a test would actually notice a real bug. Mutation testing flips that question around: Stryker deliberately turns individual lines of code into small bugs and checks whether your tests actually catch these mutants and fail, instead of silently staying green.
-
Jan 30, 2026
Real spring physics in animations used to be the domain of JavaScript libraries like Framer Motion or React Spring. The CSS function linear() now allows arbitrarily complex easing curves, including overshoot and bounce, to be defined directly as a list of control points in the stylesheet, with zero runtime JavaScript.
-
Jan 29, 2026
Cross-Site Scripting and Prototype Pollution are among the most common and dangerous JavaScript security vulnerabilities. XSS often arises from a single unsafe innerHTML assignment. Prototype Pollution corrupts Object.prototype and makes every instance across the entire program attackable. This article explains both attack vectors and shows concrete countermeasures.
-
Jan 29, 2026
A React monorepo with Turborepo bundles multiple apps and shared packages into one repository, without every build having to recompile everything. This article shows the workspace structure, the turbo.json configuration, remote caching and a CI pipeline that only builds the packages actually affected.