force-di icon indicating copy to clipboard operation
force-di copied to clipboard

Calling LWC

Open dinobrinas opened this issue 4 years ago • 3 comments

Hi, @ImJohnMDaniel - Good day! I would like to ask if it's possible to use LWC for DI. We are blocked because we cannot call LWC from LComponent because LWC doesn't have auraID to call with. IF it's possible to use LWC for DI, How can we achieve it via code? OR things that we need to consider updating your code to apply to call of LWC?

Cheers!

Thanks and regards, Dino Brinas

dinobrinas avatar Jul 23 '19 07:07 dinobrinas

I’m not a LWC expert, but I don’t recall that dynamic creation of them is supported like is possible with Aura components

https://salesforce.stackexchange.com/questions/243876/dynamic-component-creation-in-lightning-web-components

douglascayers avatar Jul 23 '19 22:07 douglascayers

lwc:dynamic allows for this, but is only available off platform (at least for now).

Until they bring this to on platform, we wont be getting too far with this.

lukethacoder avatar Mar 10 '22 23:03 lukethacoder