A framework based on ReactJS
Head
Used to change metadata
Script
src
strategy
onLoad
onReady
onError
Pages
UI unique to a route.
Layouts
UI shared between pages.
On navigation, layouts preserve state, remain interactive, don’t re-render.
getStaticProps
If you export a function called getStaticProps
(Static Site Generation) from a page, Next.js will pre-render this page at build time using the props returned by getStaticProps
.