Skip to main content

React

12 articles · written by Niraj Kumar

React's API surface is small and its failure modes are not. These posts cover the patterns that hold up in large codebases — compound components, render props, and custom hooks — alongside the performance work that matters once a tree gets deep: what memo actually buys you, where Suspense boundaries belong, and how Server Components change the calculus.

There is also a state-management comparison (Redux Toolkit vs Zustand vs Jotai), a testing setup built on Vitest, React Testing Library and MSW, and a security post on XSS, CSRF and safe API integration from the client.

Most examples are TypeScript-first and assume a Next.js App Router context, though the patterns transfer.

Need this built rather than explained?

Next.js 15/16 App Router apps with TypeScript, Server Actions, and Vercel/AWS deploys.

Next.js Developer Services

Related topics

← All articles