Web Components is a suite of different technologies used to create reusable custom elements with encapsulated functionality. In the OneCX context, they are useful for dynamic content creation for both modules and the display of Remote Components in Microfrontends. Prior to reading this document, it is recommended to read the documentation of microfrontend content loading to get familiar with the content loading mechanisms available within the OneCX platform.
|
|
Webcomponent expose method enables the OneCX platform to use UI Apps developed with different frameworks and versions. It is the recommended method for all Applications.
|
|
|
Web Components technologies are used within OneCX platform. However, OneCX offers its own functionalities that should be used to expose Microfrontend’s content using the Webcomponent expose method. Those functionalities are based on Web Components technologies, so there is no need to get familiar with them. Nevertheless, more resources about Web Components can be found here
|