Web Performance

Articles about Web Performance on omid.dev — guides, topics, and notes from the field.

i18n, a11y, and Shareable Lab State in the Browser

Published: June 13, 2026 Reading Time: 3 min

Shipping an educational lab to a global audience means more than translation strings. Bio-Dynamics adds RTL layout for Persian, keyboard region shortcuts, ARIA live announcements, touch gesture hints, and URL-encoded lab checkpoints so teachers can share a mid-simulation state without a backend. Companion resource Bio-Dynamics: Microbiome Sandbox Try ?lang=fa or copy a lab link after running a scenario — source for i18n and labState.ts is on GitHub. github.com/omidfarhang/example-projects/labs/microbiome-sandbox Open live lab View source on GitHub Lightweight i18n without a framework Locales live in src/i18n/en.ts, de.ts, and fa.ts. A small t() helper resolves dot-path keys with parameter interpolation: ...

Continue Reading

Common Mistakes Frontend Developers Make and How to Avoid Them

Published: June 10, 2024 Reading Time: 5 min

As a frontend developer, creating a seamless, efficient, and visually appealing user experience is the ultimate goal. However, even the most experienced developers can fall into common traps that can impact the overall quality of their work. In this blog post, we’ll explore some of the most frequent mistakes made by frontend developers and how to avoid them. 1. Ignoring Cross-Browser Compatibility Cross-browser compatibility ensures that your website functions correctly across different browsers. Ignoring this can lead to a poor user experience for those not using your preferred browser. ...

Continue Reading

Advanced WebAssembly: Enhancing Web Performance and Capability

Published: June 3, 2024 Reading Time: 6 min

In the ever-evolving landscape of web development, performance and capability are paramount. WebAssembly (Wasm) has emerged as a powerful tool, allowing developers to enhance web performance and unlock new functionality. This blog post delves into the advanced capabilities of WebAssembly, explores its use cases, shares best practices, and highlights tools like AssemblyScript and Emscripten that facilitate its adoption. What is WebAssembly? WebAssembly is a binary instruction format designed to be a portable compilation target for high-level languages like C, C++, and Rust. It allows code written in these languages to run in the web browser with near-native performance. WebAssembly is designed to complement JavaScript, providing a way to execute compute-intensive tasks efficiently. ...

Continue Reading