docs: module federation webcomponents#53
docs: module federation webcomponents#53priyankaSandeepRade wants to merge 3 commits intoonecx:mainfrom
Conversation
…ion-webcomponents' into docs/module-federation-webcomponents
|
|
||
| As stated in xref:./microfrontend-content-loading.adoc[Microfrontend content loading documentation], every method of Microfrontend's content exposal has an impact on the OneCX platform behavior for both module and Remote Component loading. The adaptations made by OneCX to work with Web Components were briefly mentioned in the Web Components preview, however depending on the content type, the behavior varies. | ||
|
|
||
| // TODO: Link to guide of Webcomponent expose method |
There was a problem hiding this comment.
from legacy docs. addressed in this PR - #55
|
|
||
| This section explains how the Shell UI loads and renders Microfrontend modules using the Webcomponent expose method. It describes how routing, module federation, and Web Components work together, where the Shell loads the module and Web Components handle rendering through custom elements. | ||
|
|
||
| // TODO: Link to guide of Webcomponent expose method |
There was a problem hiding this comment.
from legacy docs. addressed in this PR - #55
|
|
||
| * *Web Components Binding* - Then Web Components using Custom Elements technology bounds the Microfrontend's module to the created element. | ||
|
|
||
| // Add new guide from oneCx section here |
There was a problem hiding this comment.
What is the purpose of this comment?
There was a problem hiding this comment.
As document was divided new link has to be added in this doc. Linking is done
|
|
||
| * *Webcomponent Method Difference* - The difference with the Webcomponent method is that, from the OneCX platform's perspective, no component needs to be created. Instead, a "host" element must be created to allow Web Components' Custom Elements to display desired content. | ||
|
|
||
| // Add new guide from oneCx section here |
There was a problem hiding this comment.
What is the purpose of this comment?
There was a problem hiding this comment.
As document was divided new link has to be added in this doc. Linking is done
| [#onecx-adaptation-to-webcomponent-method] | ||
| = OneCX Adaptation to Webcomponent Method | ||
|
|
||
| As stated in xref:./microfrontend-content-loading.adoc[Microfrontend content loading documentation], every method of Microfrontend's content exposal has an impact on the OneCX platform behavior for both module and Remote Component loading. The adaptations made by OneCX to work with Web Components were briefly mentioned in the Web Components preview, however depending on the content type, the behavior varies. |
There was a problem hiding this comment.
is this xref working? (cannot see the adoc in this folder)
| == Expose Microfrontend's Content as Web Components | ||
| OneCX platform offers different ways of xref:../../../architecture/mfe.adoc[exposing Microfrontend's content]. One of them is **Webcomponent method**. | ||
|
|
||
| When exposing content with Webcomponent method, it is required to ensure the correct setup. For exposing Angular content, there are functionalities provided via the <<onecx/angular-webcomponents, @onecx/angular-webcomponents>> library. For a detailed guide on how to expose Microfrontend's content via Webcomponent method, please refer here. |
There was a problem hiding this comment.
Is the last sentence intended? If yes can we make the reference clearer?
There was a problem hiding this comment.
yes linked relevant document
No description provided.