Jan 2022
10 Mon
11 Tue
12 Wed 09:00 PM – 10:00 PM IST
13 Thu
14 Fri
15 Sat
16 Sun
Jan 2022
24 Mon
25 Tue
26 Wed 09:00 PM – 10:00 PM IST
27 Thu
28 Fri 12:00 PM – 03:35 PM IST
29 Sat
30 Sun
Jan 2022
10 Mon
11 Tue
12 Wed 09:00 PM – 10:00 PM IST
13 Thu
14 Fri
15 Sat
16 Sun
Jan 2022
24 Mon
25 Tue
26 Wed 09:00 PM – 10:00 PM IST
27 Thu
28 Fri 12:00 PM – 03:35 PM IST
29 Sat
30 Sun
Rohit Kumar
Overview
The MFE solutioning started with breaking a monolith frontend application that was being maintained by multiple teams, this had a significant impact on the lead time for independent/isolated features. A solution was needed which could result in independent, isolated business apps that can be reused across multiple host applications(known hereon as a composer application).
We started by leveraging the vue-router and rollup to export a version-controlled UMD bundle that houses an entire SPA with a routing of its own. This bundled UMD will be mounted and rendered in various composer applications.
Next, we enabled 2-way communication between the MFE and the composer application(within peers as well) by creating a basic event bus.
Lastly, all being lego-ed up and running was to plug in the system to a CI/CD which completes the lifecycle.
This was how Livspace was able to host multiple SPAs, maintained by independent business teams within the same composer application.
Limitations
Works for the VueJS ecosystem.
Takeaways
Link
MFE Presentation
Author
Rohit Kumar is a Software Engineer here at Livspace and has been key in transforming MFEs from ideation to action.
Jan 2022
10 Mon
11 Tue
12 Wed 09:00 PM – 10:00 PM IST
13 Thu
14 Fri
15 Sat
16 Sun
Jan 2022
24 Mon
25 Tue
26 Wed 09:00 PM – 10:00 PM IST
27 Thu
28 Fri 12:00 PM – 03:35 PM IST
29 Sat
30 Sun
Hosted by
Supported by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}