DEV Community

Discussion on: An approach to Micro-frontend Architecture (MVP) with NextJs

Collapse
 
itsmylife profile image
ismail simsek

Thanks for the article. Is there any repository that I can check the code?
Or should I simply create a nextjs app and put those files and codes inside and run it?
Am I missing something or are we just creating separate pages?

Collapse
 
abhinavnigam2207 profile image
Abhinav Nigam

I don't have any repo published for this, but yeah i can surely create one I a day or two.
And yes we are basically creating separate pages and breaking the app to Micro-frontends on these route based pages, if I understand you correctly.

Collapse
 
itsmylife profile image
ismail simsek

But then if we change something in an app the whole application must be built. Isn't that something we should avoid?

Thread Thread
 
abhinavnigam2207 profile image
Abhinav Nigam

In case you change anything in your application, you just need to build the miniapp which has the code for that particular route. Eventually that's the beauty of Micro-frontends that you need to build and deploy only selected code. So that you can feel assured on nothing breaks on other apps.