{"@attributes":{"version":"2.0"},"channel":{"title":"Hadi Mobarra \u2014 Blog","link":"https:\/\/hadimobarra.github.io\/blog\/","description":"Deep dives into JavaScript internals, React architecture, TypeScript and web performance, written from production experience.","language":"en","item":[{"title":"Getting a First PR Merged into a 75,000-Star Project","link":"https:\/\/hadimobarra.github.io\/blog\/first-pr-in-a-large-project\/","guid":"https:\/\/hadimobarra.github.io\/blog\/first-pr-in-a-large-project\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"Nine days, four review rounds, three of them asking for changes, and one honest admission. How a fix to Apache Superset got merged, and what the review taught me.","category":["Open Source","Debugging"]},{"title":"I Cut This Site's JavaScript by 45%, and Blocking Time Didn't Move","link":"https:\/\/hadimobarra.github.io\/blog\/less-javascript-same-blocking-time\/","guid":"https:\/\/hadimobarra.github.io\/blog\/less-javascript-same-blocking-time\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"Removing 127 KB of JavaScript halved the time to largest paint and did almost nothing for Total Blocking Time. What I measured, what I ruled out, and a font mistake that CI caught.","category":["Performance","Next.js","Core Web Vitals"]},{"title":"Never Trust JSON.parse in a Render","link":"https:\/\/hadimobarra.github.io\/blog\/never-trust-json-parse-in-render\/","guid":"https:\/\/hadimobarra.github.io\/blog\/never-trust-json-parse-in-render\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"One malformed string in a database was enough to crash an OpenMetadata page. How I fixed it upstream with small shape validators, and the two unrelated bugs that writing the tests uncovered.","category":["Open Source","React","TypeScript"]},{"title":"What Persian Users See in Two Open-Source Data Tools","link":"https:\/\/hadimobarra.github.io\/blog\/persian-in-data-tools\/","guid":"https:\/\/hadimobarra.github.io\/blog\/persian-in-data-tools\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"I ran Apache Superset and OpenMetadata in Persian and measured what changed. The layout doesn't turn around, some translations mean something else, and one language code may explain the strangest results.","category":["RTL & i18n","Data Platforms","Open Source"]},{"title":"Resumable Uploads: What Happens When the Connection Drops","link":"https:\/\/hadimobarra.github.io\/blog\/resumable-uploads-tus\/","guid":"https:\/\/hadimobarra.github.io\/blog\/resumable-uploads-tus\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"A large upload will be interrupted. This article walks through the TUS protocol request by request, with a live demo you can break, and the client-side decisions that make resuming reliable.","category":["Data Platforms","JavaScript"]},{"title":"RTL Is Not a Translation Step","link":"https:\/\/hadimobarra.github.io\/blog\/rtl-is-not-a-translation-step\/","guid":"https:\/\/hadimobarra.github.io\/blog\/rtl-is-not-a-translation-step\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"Right-to-left support isn't a mirrored stylesheet added at the end. Logical properties, text isolation, icons, fonts and numbers: the parts of an interface that change direction, and the parts that must not.","category":["RTL & i18n","CSS"]},{"title":"Why Safari Exported Blank Charts in Apache Superset","link":"https:\/\/hadimobarra.github.io\/blog\/safari-blank-chart-exports\/","guid":"https:\/\/hadimobarra.github.io\/blog\/safari-blank-chart-exports\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"A chart export that worked everywhere except Safari led through SVG foreignObject, WebGL drawing buffers and tainted canvases. Here is the root cause, the fix that was merged, and the part I got wrong.","category":["Open Source","Debugging","Browser Internals"]},{"title":"Translating Forms Generated from JSON Schema","link":"https:\/\/hadimobarra.github.io\/blog\/translating-json-schema-forms\/","guid":"https:\/\/hadimobarra.github.io\/blog\/translating-json-schema-forms\/","pubDate":"Tue, 24 Nov 2026 00:00:00 GMT","description":"When forms are generated from a schema, their labels aren't in your translation files. A practical approach: extract text by path, translate it in a catalog, and localize the schema before it reaches the form.","category":["Data Platforms","RTL & i18n","React"]},{"title":"Async Iterators, Generators and Web Streams in Practice","link":"https:\/\/hadimobarra.github.io\/blog\/async-iterators-generators-streams\/","guid":"https:\/\/hadimobarra.github.io\/blog\/async-iterators-generators-streams\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Process data incrementally instead of all at once. A practical tour of generators, async iteration, backpressure, and the Web Streams API \u2014 with examples for paginated APIs, streaming fetch responses and LLM-style token streams.","category":["JavaScript","Browser Internals"]},{"title":"The Browser Rendering Pipeline: Writing 60fps Animations","link":"https:\/\/hadimobarra.github.io\/blog\/browser-rendering-pipeline-60fps\/","guid":"https:\/\/hadimobarra.github.io\/blog\/browser-rendering-pipeline-60fps\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Style, layout, paint and composite \u2014 what each stage costs, which CSS properties trigger which stages, and how to build animations that stay smooth with transforms, will-change, FLIP and the View Transitions API.","category":["CSS","Performance","Browser Internals"]},{"title":"Building a Fine-Grained Reactivity System (Signals) From Scratch","link":"https:\/\/hadimobarra.github.io\/blog\/build-signals-from-scratch\/","guid":"https:\/\/hadimobarra.github.io\/blog\/build-signals-from-scratch\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Signals power Solid, Preact, Angular and Vue's reactivity. Build one in under 100 lines to understand dependency tracking, computed values, effects and glitch-free updates.","category":["JavaScript","Architecture"]},{"title":"Hunting Memory Leaks in JavaScript Applications","link":"https:\/\/hadimobarra.github.io\/blog\/hunting-memory-leaks-javascript\/","guid":"https:\/\/hadimobarra.github.io\/blog\/hunting-memory-leaks-javascript\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"How garbage collection really decides what to keep, the five leak patterns behind most SPA memory issues, and a repeatable DevTools workflow using heap snapshots, allocation timelines and WeakRef-aware design.","category":["JavaScript","Performance","Debugging"]},{"title":"Inside the JavaScript Event Loop: Tasks, Microtasks and the Rendering Steps","link":"https:\/\/hadimobarra.github.io\/blog\/javascript-event-loop-deep-dive\/","guid":"https:\/\/hadimobarra.github.io\/blog\/javascript-event-loop-deep-dive\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"A precise mental model of how the browser schedules your code \u2014 tasks, microtasks, requestAnimationFrame and rendering \u2014 and how to use it to write UIs that never freeze.","category":["JavaScript","Browser Internals","Performance"]},{"title":"Metaprogramming in JavaScript with Proxy and Reflect","link":"https:\/\/hadimobarra.github.io\/blog\/proxy-and-reflect-metaprogramming\/","guid":"https:\/\/hadimobarra.github.io\/blog\/proxy-and-reflect-metaprogramming\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Intercept property access, validation, and function calls with Proxy traps. Learn the invariants, the role of Reflect and receivers, and build a tiny reactive store, a validation layer and a negative-index array.","category":["JavaScript","Architecture"]},{"title":"A Mental Model for React Server Components and Streaming","link":"https:\/\/hadimobarra.github.io\/blog\/react-server-components-mental-model\/","guid":"https:\/\/hadimobarra.github.io\/blog\/react-server-components-mental-model\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Server Components, Client Components, the RSC payload, Suspense streaming and Server Actions \u2014 explained as one coherent model, with the composition patterns and pitfalls that matter in a real Next.js codebase.","category":["React","Next.js","Architecture"]},{"title":"Taming INP: A Practical Guide to Interaction to Next Paint","link":"https:\/\/hadimobarra.github.io\/blog\/taming-inp-interaction-to-next-paint\/","guid":"https:\/\/hadimobarra.github.io\/blog\/taming-inp-interaction-to-next-paint\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"INP replaced FID as a Core Web Vital. Learn how it's measured, how to find the slow interactions in your app, and the concrete techniques that cut it: yielding, deferring non-urgent work, React transitions and smaller DOMs.","category":["Performance","Core Web Vitals","React"]},{"title":"Type-Level Programming in TypeScript: Conditional, Mapped and Template Literal Types","link":"https:\/\/hadimobarra.github.io\/blog\/typescript-type-level-programming\/","guid":"https:\/\/hadimobarra.github.io\/blog\/typescript-type-level-programming\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Treat TypeScript's type system as a small functional language. Learn conditional types and infer, distributive behaviour, key remapping, recursive types and template literals, then build a type-safe router and a deep-path getter.","category":"TypeScript"},{"title":"Off the Main Thread: Web Workers, Transferables and RPC in Practice","link":"https:\/\/hadimobarra.github.io\/blog\/web-workers-off-main-thread\/","guid":"https:\/\/hadimobarra.github.io\/blog\/web-workers-off-main-thread\/","pubDate":"Sun, 08 Nov 2026 00:00:00 GMT","description":"Move expensive work off the UI thread. Covers dedicated workers in modern bundlers, structured clone costs, zero-copy transferables, a promise-based RPC layer, SharedArrayBuffer with Atomics, and OffscreenCanvas.","category":["JavaScript","Performance","Browser Internals"]},{"title":"Shipping a Static Next.js Site: Seven Things the Docs Won't Warn You About","link":"https:\/\/hadimobarra.github.io\/blog\/nextjs-best-practices\/","guid":"https:\/\/hadimobarra.github.io\/blog\/nextjs-best-practices\/","pubDate":"Sun, 15 Dec 2024 00:00:00 GMT","description":"Metadata that silently disappears, two root layouts, social images without extensions, icons paid for twice. Lessons from rebuilding this bilingual site with Next.js 16 and static export.","category":["Next.js","React","Performance"]},{"title":"A Front-End Performance Workflow That Survives Real Users","link":"https:\/\/hadimobarra.github.io\/blog\/frontend-performance\/","guid":"https:\/\/hadimobarra.github.io\/blog\/frontend-performance\/","pubDate":"Wed, 20 Nov 2024 00:00:00 GMT","description":"Measure in the field, find the one metric that hurts, break it into parts, fix the largest part, and put a budget on it. A workflow for LCP, INP and CLS, with numbers from a real site.","category":["Performance","Core Web Vitals"]},{"title":"React Architecture: Where State Lives and Where Boundaries Go","link":"https:\/\/hadimobarra.github.io\/blog\/react-architecture\/","guid":"https:\/\/hadimobarra.github.io\/blog\/react-architecture\/","pubDate":"Thu, 10 Oct 2024 00:00:00 GMT","description":"Most React codebases don't suffer from the wrong folder names. They suffer from state in the wrong place and modules without edges. A practical guide to both.","category":["React","Architecture","TypeScript"]}]}}