#React(14)

September 2026
#React #Frontend #LLM #Performance #AI

Fix Unnecessary React Re-Renders in a Chat UI

An LLM streams tokens and React repaints your whole chat history on every one. How to keep the message list still while a single reply streams in.

Read more →
September 2026
#FastAPI #WebSockets #LLM #Python #React

FastAPI WebSockets for Streaming LLM Chat

SSE streams one direction only. When an LLM chat needs the browser to interrupt a running response, FastAPI WebSockets give you a full-duplex channel.

Read more →
September 2026
#AI #LLM #JSON #React #Streaming

Parsing Partial JSON While an LLM Streams

LLM structured output isn't valid JSON until the last token. Here's how to complete and parse a streaming buffer so you can render fields as they arrive.

Read more →
July 2026
#React #LLM #Frontend #Streaming #AI

Cancelling an LLM Stream in React with AbortController

A user hits stop or switches chats and the old LLM stream keeps writing tokens and running up cost. How to cancel a streaming fetch in React the right way.

Read more →
July 2026
#React #LLM #Frontend #Markdown #AI

Streaming LLM Markdown in React Without Flicker

LLM tokens arrive one at a time, and re-parsing Markdown on every token flickers and drags. How to render streaming Markdown in React without the jank.

Read more →
June 2026
#AI #LLM #FastAPI #React #Python

Streaming LLM Responses from FastAPI with SSE

Stream LLM output token by token from a FastAPI backend with Server-Sent Events: working code, the EventSource client, proxy buffering, and failure modes.

Read more →