<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium" -->

---
title: Micro-frontend with React and Next.js | daily.dev
description: The bottom line is that you should split your project up so that the user experience won&#x27;t be disturbed. It should look like this: We have to expose our...
canonical: https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Micro-frontend with React and Next.js | daily.dev
og:description: The bottom line is that you should split your project up so that the user experience won&#x27;t be disturbed. It should look like this: We have to expose our...
og:url: https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium
og:image: https://api.daily.dev/og/posts/gOE5wsIuM.png
og:image:alt: Micro-frontend with React and Next.js
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Micro-frontend with React and Next.js

**[LogRocket](https://daily.dev/sources/logrocket)** · 9 min read · 242 upvotes · 7 comments

## Summary

The bottom line is that you should split your project up so that the user experience won't be disturbed. It should look like this: We have to expose our component to make it globally available for another micro-frontend. We will use the exported component of fe1 and the function of fe2. Let’s treat fe3 as a consumer. Let's treat fe2 as a customer. Let�’S treat fe1 as a consumers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.logrocket.com/micro-frontend-react-next-js/>

## Community discussion

Top comments from developers on daily.dev.

**@yaser\_alazm** · 0 upvotes

> Great one!

**@pradumnasaraf** · 0 upvotes

> Great Blog!

**@pzlotorzynski** · 0 upvotes

> Lots of mistakes in the code. Don't waste your time if you are total noob as I am. It is not working.

**@chibaku** · 0 upvotes

> i was looking for this

**@thunderbolt8** · 0 upvotes

> Awesome & Concise artice, Harsh!#keepGoing

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#react](https://daily.dev/tags/react), [#mobile](https://daily.dev/tags/mobile), [#redux](https://daily.dev/tags/redux), [#webpack](https://daily.dev/tags/webpack)

[View this post on daily.dev](https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Micro-frontend with React and Next.js","url":"https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium"},"datePublished":"2022-08-04T13:05:15.685Z","dateModified":"2022-08-04T13:05:15.684Z","description":"The bottom line is that you should split your project up so that the user experience won't be disturbed. It should look like this: We have to expose our...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7446a08b8ddcf45b6c695c1522f3d6ac","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7446a08b8ddcf45b6c695c1522f3d6ac","isAccessibleForFree":true,"articleSection":"LogRocket","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LogRocket","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket","url":"https://daily.dev/sources/logrocket"},"commentCount":7,"discussionUrl":"https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":242},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":7}],"keywords":"react,mobile,redux,webpack","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LogRocket","item":"https://daily.dev/sources/logrocket"},{"@type":"ListItem","position":3,"name":"Micro-frontend with React and Next.js"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/micro-frontend-with-react-and-next-js-goe5wsium","comment":[{"@type":"Comment","text":"Great one!","datePublished":"2022-08-08T06:53:05.030Z","url":"https://daily.dev/posts/gOE5wsIuM#c-g6M1rs8S9","author":{"@type":"Person","name":"Yaser AlAzm","url":"https://daily.dev/yaser_alazm","image":"https://avatars.githubusercontent.com/u/10104954?v=4"}},{"@type":"Comment","text":"Great Blog!","datePublished":"2022-08-05T11:48:26.241Z","url":"https://daily.dev/posts/gOE5wsIuM#c-ssL4tGIuP","author":{"@type":"Person","name":"Pradumna Saraf","url":"https://daily.dev/pradumnasaraf","image":"https://media.daily.dev/image/upload/s--3PmsuIYB--/f_auto/v1743065528/avatars/avatar_ROowOnrifHaYusj327QxB"}},{"@type":"Comment","text":"Lots of mistakes in the code. Don’t waste your time if you are total noob as I am. It is not working.","datePublished":"2022-08-06T18:20:18.668Z","url":"https://daily.dev/posts/gOE5wsIuM#c-8V8eCyBnY","author":{"@type":"Person","name":"Piotr Z","url":"https://daily.dev/pzlotorzynski","image":"https://lh3.googleusercontent.com/a-/AFdZucoYmIksn421_nCo6SsDTHCFOnzQHL_R9FWQRnN3Ww=s100"}},{"@type":"Comment","text":"i was looking for this","datePublished":"2022-08-10T11:30:11.473Z","url":"https://daily.dev/posts/gOE5wsIuM#c-egkiswLCS","author":{"@type":"Person","name":"Mouad Boulahdoud","url":"https://daily.dev/chibaku","image":"https://avatars.githubusercontent.com/u/28781942?v=4"}},{"@type":"Comment","text":"Awesome &amp; Concise artice, Harsh!#keepGoing","datePublished":"2022-09-12T16:22:07.618Z","url":"https://daily.dev/posts/gOE5wsIuM#c-ypK4aSXcO","author":{"@type":"Person","name":"Robert Yarborough","url":"https://daily.dev/thunderbolt8","image":"https://avatars3.githubusercontent.com/u/1589473?v=4"}}]}
```

