Upload an app developed with a third-party framework as a static resource, and host the content in an Aura component using lightning:container. Use lightning:container to use third-party frameworks like AngularJS or React within your Lightning pages.
The lightning:container component hosts content in an iframe. You can implement communication to and from the framed application, allowing it to interact with the Lightning component. lightning:container provides the message() method, which you can use in the JavaScript controller to send messages to the application. In the component, specify a method for handling messages with the onmessage attribute.
-
Lightning Container Component Limits
Understand the limits of
lightning:container. -
lightning:container NPM Module Reference
Use methods included in the lightning:container NPM module in your JavaScript code to send and receive messages to and from your custom Aura component.