GenUI State Management: Astro vs Next.js RSC — Part 2

Prerequisite: Familiarity with the concepts introduced in Part 1 — Beyond Chatbots. Review it first if the terminology in this part is unfamiliar. Answer-first: Managing client-server state in Generative UI requires choosing between Next.js React Server Components (RSC) and Astro Islands Architecture. Next.js RSC streams server action payloads directly into component trees for server-driven context binding, while Astro isolates dynamic AI rendering into client-hydrated widgets. This article evaluates state flows, optimistic updates, and hydration strategies across both meta-frameworks. ...

March 19, 2026 · 7 min · Lê Tuấn Anh

Critique Loop Architecture: Preventing LLM Hallucination

Prerequisite: Familiarity with the concepts introduced in Part 4 — Active Rag Tool Calling. Review it first if the terminology in this part is unfamiliar. In Part 4: Active RAG & Strict Tool Calling - Connecting LLMs to Real-time APIs, we successfully built a cyclic ReAct graph allowing the LLM to call APIs to check inventory and promotions in real-time. However, in a real-world production environment, giving an LLM access to Tools is not enough to guarantee absolute accuracy. ...

May 22, 2026 · 8 min · Lê Tuấn Anh