What's new in React 18?
summary
React 18 makes three concrete changes: automatic batching groups all state updates (with flushSync to force extra renders), a new useId hook generates SSR-safe IDs, and a concurrency model adds startTransition/isPending plus useTransition/useDeferredValue to keep an input instant while filtering 5,000 items or updating a 90,000-item list. Suspense now supports streaming HTML and selective hydration for independent fallbacks, and server components let server-only code (DB/file access) stay off the client bundle, reducing client JS and improving FCP.
AI-written summary · about
