this post was submitted on 13 Sep 2023
3 points (100.0% liked)
Angular
275 readers
8 users here now
A community for discussion about angular
Wormhole
Logo base by Angular under CC BY 4.0 with modifications to add a gradient and drop shadow
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In a larger project we came up with the following solution, to keep the UI parts independent changeable and composable. For every bounded context there is an independent UI which could be used standalone and is versioned and exported as a Web Components. The main application provides the overall context and imports a certain major version (eg. "latest") of a of each component. All communication between the components is done by exchanging events and callbacks. It was in a vue-based project, but I think this should work in general as well.
That's really interesting. We were looking at web components since the design team has been working on providing them to our customers. Thank you!