Code-Splitting a Prerendered React App Without Breaking Hydration
How ToolRunner cut its entry script from 6.8 MB to 383 KB by loading each page on demand, and the three traps of lazy pages in a prerendered React 19 app.
by OneTwoCoding
Practical, citation-backed guides written for engineers at the keyboard.
How ToolRunner cut its entry script from 6.8 MB to 383 KB by loading each page on demand, and the three traps of lazy pages in a prerendered React 19 app.
by OneTwoCoding
How ToolRunner runs Real-ESRGAN super-resolution client-side: ONNX session setup, WebGL/WASM fallback, 128px tiling with feathered stitching, no server.
by OneTwoCoding
How ToolRunner generates RFC 6238 TOTP codes entirely in the browser, and how the AES-GCM vault with PBKDF2 and WebAuthn PRF key wrapping protects the secrets.
by OneTwoCoding
Building ToolRunner's Cron Generator: two-way builder sync, where cron-parser and cronstrue disagree, and why next-run previews need an explicit IANA timezone.
by OneTwoCoding
Pasting a JWT into a server-backed decoder means handing out a live credential. How ToolRunner decodes and verifies tokens entirely in your browser.
by OneTwoCoding
Why big JSON freezes browser tabs: JSON.parse cost vs DOM node count, how ToolRunner's JSON Viewer renders trees, and the honest limits of client-side.
by OneTwoCoding
The threat model of pasting API keys and production JSON into web tools, what client-side only really guarantees, and how to verify it yourself in DevTools.
by OneTwoCoding
How ToolRunner's PDF Merger & Splitter merges, reorders, and extracts PDF pages entirely in the browser with pdf-lib and pdf.js — no server, no upload.
by OneTwoCoding
How ToolRunner turns a client-side React Router app into fully prerendered static pages with renderToString, react-helmet-async, and one Node script.
by OneTwoCoding
How ToolRunner packs entire tool sessions into query parameters with debounced replaceState, lz-string compression, and a hard 8,000-character URL budget.
by OneTwoCoding
How ToolRunner's Hash Generator computes SHA digests with crypto.subtle.digest, why MD5 and bcrypt need pure-JS libraries, and the trade-offs involved.
by OneTwoCoding
Why an HTTP tester running in your browser gets blocked by CORS while Postman sails through — and why proxying around it costs more than it looks.
by OneTwoCoding
A practical guide to Strict-Transport-Security: the max-age ramp, when to add includeSubDomains and preload, and how aggressive HSTS can break a site.
by OneTwoCoding
A developer's reference to HTTP security headers: CSP, HSTS, X-Frame-Options, Permissions-Policy, COOP/COEP, and Referrer-Policy, and how each breaks sites.
by OneTwoCoding
A practical guide to Content-Security-Policy: how directives compose, why inline scripts and eval get blocked, nonces vs hashes, and a report-only rollout.
by OneTwoCoding