Pre-rendering
Learn about pre-rendering and how it makes Next.js unique.
What is pre-rendering?
The process of converting our written code into a presentable user interface on the client browser is known as rendering.
Pre-rendering is the process of generating the HTML of a page before it has to be loaded in the browser. This way, the page generation is not done by the client-side JavaScript, improving the web application’s performance and SEO. Each page is associated with as little JavaScript as possible. JavaScript is only used to make it interactive on the client-side. The image below shows how a prerendered website loads:
Get hands-on with 1200+ tech skills courses.