4 ms·
My previous job was doing microservices for frontend and current job is doing monorepos. I prefer monorepo for frontend because: * Full page refresh between
by msoad 7y ago
My previous job was doing microservices for frontend and current job is doing monorepos. I prefer monorepo for frontend because:
* Full page refresh between frontend services
* Inconsistency between services.
Sometimes services use different major versions
between @company/footer @company/header components
that is extremely ugly when navigating
* Sharing data between services is hard.
How can I update profile photo in header from my page?
I saw iframe injection hacks to go around it!!
* A single page can have multiple team owners,
those things can get tricky fast
* Monorepo is easier to make tooling for.
- revvx 7y ago> My previous job was doing microservices for frontend and current job is doing monorepos. I prefer monorepo for frontend because: I think you're misusing the term "monorepo", no? Monorepo is just a technique for organizing source control repositories. It's possible to have microservices AND monorepos. You're probably thinking of "monolith". https://en.wikipedia.org/wiki/Monorepo https://en.wikipedia.org/wiki/Monorepo
- swsieber 7y agoWhile I agree with your analysis, do we have a good word for lots of little repos? ie microservices : monolith and ?? : monorepo
- msoad 7y agoYou're right. At least for frontend they go hand in hand.