2024-02-20
2760
#typescript
Gapur Kassym
68090
Feb 20, 2024 ⋅ 9 min read

Building a type-safe dictionary in TypeScript

Gapur Kassym I am a full-stack engineer and writer. I'm passionate about building excellent software that improves the lives of those around me. As a software engineer, I enjoy using my obsessive attention to detail and my unequivocal love for making things that change the world.

Recent posts:

Why `useEffect` breaks AI streaming responses in React

Why useEffect breaks AI streaming responses in React

See why useEffect breaks AI streaming in React, and how moving stream state outside React fixes flicker and stale updates.

Chizaram Ken
Apr 23, 2026 ⋅ 7 min read

I used Claude to debug a UI bug: What actually happened

A real-world debugging session using Claude to solve a tricky Next.js UI bug, exploring how AI helps, where it struggles, and what actually fixed the issue.

Marie Starck
Apr 22, 2026 ⋅ 8 min read

What if you could lay out UI without CSS? Meet Pretext

CSS wasn’t built for dynamic UIs. Pretext flips the model by measuring text before rendering, enabling accurate layouts, faster performance, and better control in React apps.

Chizaram Ken
Apr 21, 2026 ⋅ 9 min read
Why real-time frontends break at scale and how to fix them

Why real-time frontends break at scale and how to fix them

Why do real-time frontends break at scale? Learn how event-driven patterns reduce drift, race conditions, and inconsistent UI state.

Alexander Godwin
Apr 20, 2026 ⋅ 12 min read
View all posts

Hey there, want to help make our blog better?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now