lwc-utils
lwc-utils copied to clipboard
Implement modals in LWC
Waiting on Salesforce's official parity answer to overlaylibrary as I feel the official sample repos "popup" is not a good enough.
A half-measure has been implemented by routing an LWC event request all the way to Aura. Surprisingly, $A.createComponent works with LWCs. I am not sure if this is intentional, but as of Spring 19 this works, including dynamic initialization of @api attributes from an LWC payload.
Still waiting for an official migration of overlayLibrary to the LWC equivalent.
Anecdotally, I don't recall where I found it, but I believe I saw references to overlay somewhere in lwc-oss.
Coincidentally, this RFC seems foundational to the ability of an ES6 module authored by SFDC which can provide this functionality.