What carries over
React concept How it works in Next.js Why it still matters
JSX JSX files ( .tsx or .jsx ) are compiled by the same Babel pipeline. All component rendering logic stays identical.
Function components & hooks useState , useEffect , useContext , custom hooks, etc., are imported from react exactly the same way. State management and side‑effects remain component‑local.
Component composition You still compose UI by nesting components, passing props, and using children. The mental model of “building UI from small pieces” does not change.
React Router vs. Next.js routing The <Link> component exists in both ecosystems, but Next.js uses file‑system routing. Navigation still uses <Link href="/about"> .
CSS‑in‑JS / CSS Modules styled-components , emotion , or CSS Modules ( .module.css ) work unchanged. Styling strategies you already know continue to apply.
Testing with Jest / React Testing Library Test files live alongside components; the same APIs ( render , screen , fireEvent ) are used.…