Ohans Emmanuel's Blog

Before Writing Code with AI

How we write code has fundamentally changed with AI in the mix … blah blah blah. We’ve all heard that. So, I’ll jump straight to the point. There are lots of ways to code with AI, and a lot of new things to learn, but this article will focus

The Typescript feature we all wanted

TLDR: Inferred Type Predicates are now available in Typescript 5.5 Beta. In this article, I’ll explain the much-awaited feature and how it’ll help you write more type-safe code. Introduction For the most part, Typescript’s control flow analysis does an impressive job of monitoring how the type

How to Build a Notion-style editor with AI-powered autocompletion

TLDR: In this article, we will explore a high-level design of Potion —a Notion-style email builder with AI-powered autocompletion. Also, I just launched Potion on Producthunt. Let’s get started. Requirements Rich-text editors come in all shapes and forms e. g., editors in apps like Substack, Medium and even Notion.

Astro View Transitions by Examples

View Transitions unlocks native browser transition effects between pages for Astro 3.0 using new platform APIs. The good part? Astro is the first major web framework to mainstream View Transitions, and this article will get you started with the new API. Getting started   Let’s explore Astro view transitions

Working with Astro's middleware

I like to think of middleware as middle agents. A simplified flow of data from a user’s browser to our application servers comprises a request-response cycle. A middleware takes the front-row seat in the application server. Allowing us to intercept the user request before it is completed. With a

Ohans Emmanuel's Blog © 2026