Next.js
Next.js is a backend framework for your React applications.
Check out Theoβs Next.js Conf talkβ to get a better understanding of what Next.js is and how it works.
Why should I use it?
We love React. It has made UI development accessible in ways we never imagined before. It also can lead developers down some rough paths. Next.js offers a lightly opinionated, heavily optimized approach to creating applications using React. From routing to API definitions to image rendering, we trust Next.js to lead developers towards good decisions.
Pairing Next.js with Vercelβ makes developing and deploying web apps easier than ever before. Their extremely generous free-tier and super intuitive interface provides a point and click solution to deploy your site (We β€οΈ Vercel)
Get Static/Server Props
A key feature of Next.js is its data fetching capabilities. We highly recommend reading through the official documentationβ to understand how to use each method and how they differ. getServerSideProps
is generally discouraged unless there is a good reason for it, due to the fact that it is a blocking call and will slow down your site. Incremental Static Regenerationβ is a great alternative to getServerSideProps
when the data is dynamic and can be fetched incrementally.
Useful Resources
Resource | Link |
---|---|
Next.js Documentation | https://nextjs.org/docsβ |
Next.js GitHub | https://github.com/vercel/next.jsβ |
Next.js Blog | https://nextjs.org/blogβ |
Next.js Discord | https://nextjs.org/discordβ |
Next.js Twitter | https://twitter.com/nextjsβ |
Vercel/Next.js YouTube Channel | https://www.youtube.com/c/VercelHQβ |