Newer Version Available
Lightning Container Limits
lightning:container has known limitations. You might observe performance and scrolling issues associated with the use of iframes. This component isn’t designed for the multi-page model, and it doesn’t integrate with browser navigation history.
If you navigate away from the page a lightning:container component is on, the component doesn’t automatically remember its state. The content within the iframe doesn’t use the same offline and caching schemes as the rest of Lightning Experience.
Content in lightning:container is served from the Visualforce domain. lightning:container can’t be used in Lightning pages that aren’t served from the Lightning domain, such as Visualforce pages (using Lightning Components for Visualforce) or Community Builder. These restrictions allow lightning:container to comply with LockerService security, and might change in future releases.