Blogs by LWC
Dynamic Javascript import in Salesforce Lightning Web Component (Light Dom with LWC With Stripe live js)
Recently with the release salesforce launched support of Light DOM (Beta) using that we can inject the live js library inside our component without turning off LWS / Lightning locker.
Here I am giving an example of stripe libs included in the LWC component.
dynamic-javascript-import-in-salesforce-lightning-web-component-light-dom-with-lwc-with-stripe
Jan 1st, 2023