Frontends
9 posts

The Trouble with JavaScript Streams: What Web Streams API Got Wrong
Web Streams API locked you out? BYOB mode giving you headaches? Node.js core contributor James Snell proposed an alternative using async iterables, with 2x to 120x performance gains. See how pull vs push models affect your code performance.

Frontend Performance Optimization: I Replaced Axios With 25 Lines of Vanilla JS
Discovered that 13KB Axios is just a fetch wrapper. Using 25 lines of vanilla JS to achieve the same functionality while reducing bundle size by 92%. A real frontend performance optimization case.

Evan You Announces OXC Tools: 45x Faster Than Prettier, 50-100x Faster Than ESLint
Vue.js creator Evan You unveils OXC tool suite with oxfmt 45x faster than Prettier and oxlint 50-100x faster than ESLint, revolutionizing frontend development workflow

Snapdom: A New Engine for Web Screenshots, Say Goodbye to Lag
Snapdom gained 2000+ stars in two months - how does it use SVG magic to make web screenshots lightning fast? Say goodbye to html2canvas lag and experience the modern web screenshot solution

Say Goodbye to encodeURIComponent() in 2025
Build cleaner URLs with the new URL() API and ditch the tedious encodeURIComponent() approach

The Middleware Optimization Trick That Made My Node.js Server 40% Faster
Learn this middleware design pattern to dramatically boost Node.js performance, reduce latency, and improve scalability without rewriting your code

Make Your Web App Fly with scheduler.yield() ⚡
Keep your UI smooth by breaking up heavy tasks, just like a smart restaurant server
Stop Using substr(): The Deprecated JavaScript API and the Right Replacements (slice vs substring)
substr() is deprecated and risky to rely on. This guide explains why, contrasts it with slice() and substring(), and provides a clear migration checklist and best practices.
HTML Speculation Rules API Tutorial: 6 Lines of Code for Instant Page Loads
Complete guide to HTML5 Speculation Rules API for prefetching and prerendering web pages. Achieve 90% faster page loads with 6 lines of HTML code. Includes Chrome 121+ implementation and cross-browser compatibility solutions.