🌐Next.js
Also known as NextJS, Next
A framework built on React. It adds routing, server pages and static pages.
Think of it like
Think of it like a house kit built around React bricks. The walls, doors and pipes come ready.
Example
Next.js is made by the company Vercel and was first released in 2016. Jack builds his shop with it, and each product page is pre-built for speed.
Why it matters
Definition
Example code
console
$ npx create-next-app@latest my-shopCommon mistake
Key takeaways
- 1React plus the rest. Routing, rendering, server code.
- 2Pick per page. Server, static or browser.
- 3Folders are routes. The file layout is the map.