React, JavaScript, Architecture.
crawled by search engines, improving SEO. 3. Security: Serving static files reduces the attack surface compared to server-rendered pages. Example: Here’s an example of SSG using Next.js. // pages/index.js import React from 'react'; function Home({ data }) { return ( <div> <h1>{data.title}</h1>