Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling LWC #49

Open
dinobrinas opened this issue Jul 23, 2019 · 3 comments
Open

Calling LWC #49

dinobrinas opened this issue Jul 23, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@dinobrinas
Copy link

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

@douglascayers
Copy link
Contributor

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

@afawcett afawcett added the enhancement New feature or request label Dec 27, 2019
@lukethacoder
Copy link
Contributor

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.

@Jucamola
Copy link

It looks like something can be done with Flows, but also like it should be illegal :P
https://www.jamessimone.net/blog/joys-of-apex/dynamic-lwc-creation/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants