---
title: "Comment by Jatin Gundabathula on \"Micro-frontends with Next.js and Module Federation\" | Hashnode"
description: "Hi Alibek, Have you tried using NextJs SSG (Static site generation). we are able to create a next app with SSG and it was running fine with production build (ex"
url: "https://hashnode.com/posts/micro-frontends-with-nextjs-and-module-federation/643c7152deeeb44486e99fbe/comment/64ee6ee10f36f04fe5fe3ed5"
---

[Discussion](https://hashnode.com/posts/micro-frontends-with-nextjs-and-module-federation/643c7152deeeb44486e99fbe)

Comment [Micro-frontends with Next.js and Module Federation](https://hashnode.com/posts/micro-frontends-with-nextjs-and-module-federation/643c7152deeeb44486e99fbe)

[Jatin Gundabathula](https://hashnode.com/@JatinGundabathula)

[Aug 29, 2023](https://hashnode.com/posts/micro-frontends-with-nextjs-and-module-federation/643c7152deeeb44486e99fbe/comment/64ee6ee10f36f04fe5fe3ed5)

Hi Alibek,

Have you tried using NextJs SSG (Static site generation). we are able to create a next app with SSG and it was running fine with production build (ex: out folder). however when we try to load static remote page (remoteEntry.js) in host application. getStaticProps are not being called.

What we are trying to achieve is to create a next page with SSG and deploy the production build in any S3 bucket (no runtime/ serveless), refer remoteEntry.js in host application

If you any insights on this please help
