Omkar Arora

Dev log · 5 entries

Dev log. Blog posts by Omkar Arora

Notes on building for the web — most of them with demos you can play with.

  1. 20 Dec 20259 min read

    Optimistic Updates: Building Instant, Responsive UIs

    What optimistic updates are, when they're safe, and how to build them in React: plain state, TanStack Query and useOptimistic, plus failure handling.

  2. 09 Dec 20255 min read

    Building interactive demos in MDX

    Live previews, side-by-side comparisons and step-by-step walkthroughs inside MDX posts, each built from a small React client component.

  3. 07 Dec 20254 min read

    Improving syntax highlighting in a Next.js MDX blog

    From plain, unhighlighted code blocks to VS Code-style highlighting, line numbers and a copy button, using remark-gfm and rehype-pretty-code.

  4. 01 Dec 20254 min read

    SEO for a Next.js MDX blog: metadata, structured data and OG images

    Metadata, Open Graph tags, JSON-LD structured data, generated OG images, a sitemap and robots.txt for a Next.js MDX blog.

  5. 30 Nov 20253 min read

    How I built my blog with MDX, Next.js and Tailwind CSS

    The whole setup behind this blog: reading MDX files, parsing frontmatter, custom components and Tailwind Typography, on the Next.js App Router.