ExamGecko
Question list
Search
Search

List of questions

Search

Question 221 - Certified B2B Commerce Administrator discussion

Report
Export

Which two guidelines should a developer consider when migrating aura components to LWC? 07m 01s

A.
Migrate one component and then determine whether additional effort would make sense
Answers
A.
Migrate one component and then determine whether additional effort would make sense
B.
Start with migrating trees of components (components within components)
Answers
B.
Start with migrating trees of components (components within components)
C.
Force all developers to write any new components using Lightning web components
Answers
C.
Force all developers to write any new components using Lightning web components
D.
Start with simple components that only render UI
Answers
D.
Start with simple components that only render UI
Suggested answer: A, D

Explanation:

When migrating aura components to LWC, the developer should consider the following guidelines:

Migrate one component and then determine whether additional effort would make sense. This way, the developer can evaluate the benefits and challenges of migration, and decide whether to continue or postpone the process. The developer can also use the Lightning Web Components Migration Assistant tool to automate some of the migration steps.

Start with simple components that only render UI. These components are easier to migrate because they have less logic and dependencies. The developer can use the base Lightning web components as a starting point, and then customize them as needed. The developer can also use the Lightning Web Components Playground to test and debug the migrated components.Reference:

Migrate Aura Components to Lightning Web Components

B2B Commerce Aura to LWR Migration Guide

asked 23/09/2024
Tommy Svendsen
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first