---
title: "Discussion on \"Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation\" | Hashnode"
description: "Discussion on \"Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation\". Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation"
url: "https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation](https://blog.adeeshsharma.com/vite-module-federation?utm_source=hashnode&utm_medium=feed)

Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation

Apr 10, 2023 · 6 min read · blog.adeeshsharma.com  
Read the article

-   [#vite](https://hashnode.com/tag/vite)
-   [#module-federation](https://hashnode.com/tag/module-federation)
-   [#microfrontend](https://hashnode.com/tag/microfrontend)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Adeesh Sharma](https://hashnode.com/@adeeshsharma)

@adeeshsharma · Hyderabad, India

  
[View profile](https://hashnode.com/@adeeshsharma)

Associate Architect in Software Development

Adeesh is an Associate Architect in Software Development and a post graduate from BITS PILANI, with a B.E. in Computer Science from Osmania University. Adeesh is passionate about web and software development and strive to contribute to technical product growth and decentralized communities. Adeesh is a strategic, diligent, and disciplined individual with a strong work ethic and focus on maintainable and scalable software.

## Responses 2

Markdown supported · ⌘↵ to post

[Alexis R. Ware](https://hashnode.com/@alexisware)

[Mar 13, 2025](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d/comment/67d2eedcef2956218377c8be)

I just read your blog on Setting up React Micro Frontends with Vite Module Federation using @originjs/vite-plugin-federation—thanks for sharing! It was a great breakdown of how Vite and Module Federation can work together to build scalable micro-frontend applications.

While exploring more, I found this resource on React Micro Frontend Architecture – An In-Depth Tutorial With Example: [mobisoftinfotech.com/resources/blog/react-micro-f…](https://mobisoftinfotech.com/resources/blog/react-micro-frontend-architecture-tutorial-example) . It covers React micro frontend architecture and module federation with Vite.

What challenges should businesses consider when adopting micro frontend architecture at scale? Looking forward to your thoughts. Great read!

[Na'im Roslan](https://hashnode.com/@naimroslan)

[Jun 5, 2024](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d/comment/66603055279430f78e465f0a)

Is it possible to implement hot reload? Instead of building the remote app

[Raúl Escamilla](https://hashnode.com/@xzeggasv)

[Jul 11, 2023](https://hashnode.com/posts/vite-module-federation/6433f7885ab84a64d0ee806d/comment/64acaa8aa25b102014466247)

Do you know how to configure test environment, I am having troubles cuz test with vitest are traying to load the remote url unsuccessfully. then, the components in the host app are traying to navigate to remote components even when they have not unit test files.
