Menu

Next 3.0 Preview: Static Exports and Dynamic Imports
📰
0

Next 3.0 Preview: Static Exports and Dynamic Imports

Vercel News·Arunoda Susiripala·4 days ago
#BHN8n1xQ
#vercel#next#dynamic#export#server#article
Reading 0:00
15s threshold

On the heels of our announcement of free static deployments earlier today, we are excited to introduce a beta release of the upcoming  Next.js  3.0, featuring  next export , dynamic components and various bugfixes. Next.js allows you to write React applications with server-rendering, automatic code-splitting, built-in component CSS with one command. To get started, populate  pages/my-route.js  directory with a file that exports a component: export default ( ) => ( < p > Welcome to my React App ! < / p > ) Install it with  npm install next react react-dom , run  next  and navigate to  http://localhost:3000/my-route . That's it! To learn more, read the  5-minute README  or check out our  2.0 announcement blogpost . Link to heading Next-Export Until today, you would run  next  to develop,  next build  to compile the production app and  next start  to serve it.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More