Idea: Set renderMode when creating LWC

10 views
Skip to first unread message

Steve Schrab

unread,
May 5, 2026, 11:25:04 AMMay 5
to Illuminated Cloud General Discussion
Just a general idea, but it might be nice to add the render mode to the LWC creation modal. I always have to look up what the code is for light dom. So it would be a nice quality of life improvement to add something like an "Enable LightDOM checkbox" to the modal.

So it would add `static renderMode = "light";` to the JS file and `lwc:render-mode="light"` to the initial template tag in the HTML file.

Scott Wells

unread,
May 5, 2026, 11:47:06 AMMay 5
to Illuminated Cloud General Discussion, ssc...@gmail.com
Do you mind logging an enhancement request in the public issue tracker for this. You can safely ignore the warning as any new entries right now will be included in the migration to GitHub that I'll be doing in the next few weeks. That will ensure it stays on my radar, though.

Regards,
Scott Wells

Steve Schrab

unread,
May 6, 2026, 9:20:30 AMMay 6
to Illuminated Cloud General Discussion, sc...@illuminatedcloud.com, Steve Schrab
Reply all
Reply to author
Forward
0 new messages