JavaScript: Guides and Practical Know-how | Page 9 | mironsoft Blog
JavaScript
-
Oct 17, 2025
Vite revolutionizes the dev server with native ESM, Webpack remains the heavyweight for complex enterprise setups, and Rollup produces the cleanest library bundles. Pick the wrong bundler and you lose development speed, build performance, or bundle quality: this comparison shows which tool is the right choice for which scenario in 2026.
-
Oct 16, 2025
The console prints 0.30000000000000004, a price comparison fails, a sum of invoice line items is off by one cent. Floating point precision is not a JavaScript quirk, it is a consequence of IEEE 754, but it hits JavaScript developers especially often because the language only has a single number type. This article explains the cause and shows robust fixes.
-
Oct 14, 2025
Memory leaks in JavaScript applications are invisible, until the browser crashes or the page noticeably slows down after a few minutes. Heap snapshots, allocation timelines and the retainer graph in Chrome DevTools make invisible memory leaks visible, locatable and fixable.
-
Oct 13, 2025
map(), filter(), take(), drop() and reduce() now exist directly on iterators, with lazy evaluation instead of full materialization into an array.
-
Oct 13, 2025
execCommand('copy') was a hack that is now marked deprecated in modern browsers. The Clipboard API delivers a clean, Promise-based interface for reading and writing the clipboard, including image and rich text support plus a built-in permission model.
-
Oct 10, 2025
Anyone who has mastered React in the browser already carries the core knowledge for React Native: components, hooks and state work identically. What changes are the building blocks for the interface, the styling model and the way native functionality such as camera or push notifications gets attached. This article shows the direct transition with concrete code.
-
Oct 10, 2025
A misconfigured ESLint setup either misses real type errors or slows down every commit with unnecessarily slow type-aware rules. With modern flat config, the typescript-eslint package, and a clear split between fast syntax linting and full type-checking, both goals are achievable at once: reliable error detection and a development workflow that stays fast.
-
Oct 4, 2025
Multiple web workers sharing the same SharedArrayBuffer need a way to wait on each other without constantly polling in a loop. Atomics.wait() provides exactly that, but blocks the entire thread and is therefore forbidden on the main thread. Atomics.waitAsync() solves the same problem non-blockingly, working even where blocking simply isn't an option.
-
Oct 4, 2025
Route splitting is the standard entry point, but the noticeable improvement often sits one level deeper. Component level splits, deliberate vendor chunking and preload hints together decide whether code splitting merely looks good in the bundle report or actually shortens load time for users.
-
Sep 25, 2025
Touch gestures in Vue apps rarely fail on the core idea, but on details such as scroll conflicts, missing passive event configuration, and janky animations under load. With pointer events, VueUse composables, and a clean separation between recognition and reaction, swipe to delete, drag and drop, and pinch to zoom can be built robustly and performantly.