Salesforce Fact #474 | New rename component command for LWC

With Summer'22 release, we now have a new rename component command for LWC. Previously, in order to update a LWC bundle we needed to rename each of the html, js and css file which was time-taking.

Now, with a single rename command i.e. SFDX: Rename Component, all the components inside the bundle would get renamed.

Note: However, the existing references of the old component names are not updated. So, we need to be careful.

Reference: https://developer.salesforce.com/blogs/2022/05/learn-moar-in-summer-22-with-developer-tooling?_ga=2.117356678.1030199679.1658653219-201824057.1653640616

Attached are the screenshots.








Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow