← Articles
YT

Yuki Tanaka

Author

Frontend engineer at a Tokyo SaaS company, building data-dense dashboards with Next.js App Router and React Server Components. Gave the talk that popularised streaming UI patterns at JSConf Japan.

nextjsreacttypescriptperformance

Articles by Yuki Tanaka(11)

Streaming LLM Responses: Engineering for Perceived Performance

This article delves into the engineering principles behind streaming responses from Large Language Models (LLMs), focusing on enhancing perceived performance through UI/UX design and backend optimization. It discusses practical implementations using React Server Components and Suspense boundaries, complete with real-world applications and technical insights.

LLMStreaming UIReactServer ComponentsPerformance Engineering

27 July 2026

The waterfall problem in data fetching and how App Router addresses it

Waterfall data fetching — where each request waits for the previous one to complete before starting — is the most common cause of slow page loads in React applications. The App Router's parallel data fetching model eliminates waterfalls by default when used correctly.

nextjsreactperformancedata-fetchingapp-router

21 July 2026

Building real-time features in Next.js without a dedicated WebSocket server

WebSocket servers are the obvious choice for real-time features, but they introduce infrastructure complexity. Server-Sent Events, Firestore listeners, and long-polling cover most production real-time requirements without the operational overhead.

nextjsreal-timewebsocketsfirebasefrontend

20 July 2026

React Server Components: the mental model that makes the pattern click

React Server Components are not a performance optimization layered on top of React — they are a different component execution model. The applications that adopt them successfully understand this distinction from the start.

reactnextjsserver-componentsfrontendarchitecture

19 July 2026