I am looking for some method which can convert pre built Aura components to LWC open source.
is there any tool or simple convert method exist?
I wish I don't have to do it one by one.
I am looking for some method which can convert pre built Aura components to LWC open source.
is there any tool or simple convert method exist?
I wish I don't have to do it one by one.
Best Answer
Migrate Aura Components to Lightning Web Components contains the full documentation on undertaking this
Migration Strategy mentions that you're not likely to want to convert line-by-line - but, rather evaluate your design and how it would work best considering the differences in the two models.
It then has specific pages dedicated to migrating the various parts:
Of the above, some are more straightforward than others. As an example, apex methods have no syntax differences - but, Lightning Web Components can also use the JavaScript
@wire
decorator to wrap calls to an Apex method or the User Interface APILikewise, there's other differences to consider