Frontend Development
4 posts

Does JavaScript Really Lose to GPU? Three Real Benchmarks That Baffled Me
Particle simulation, matrix multiplication, image processing—real performance comparisons between WebGPU and JavaScript that yield surprising results. Not all scenarios need GPU; sometimes CPU does the job better.

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.

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
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.