Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Platform User Experience Designer (Plat-UX-101) Exam - Topic 6 Question 8 Discussion

Posted by Nieves on May 03, 2022 at 02:38 PM

A UX Designer is creating a custom To-Do List component to replace the standard Salesforce one. Their developer is using a parent-child Lightning Web Component (LWC) structure to build the component, creating a parent component for the list and a single repeated child component for each To-Do Item within the list.

Which two impacts of the LWC's Shadow DOM should be considered when designing or developing the stylesheets for these components?

Choose 2 answers

Suggested Answer: B, C

Get Premium Salesforce Certified Platform User Experience Designer (Plat-UX-101) Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
AL
Alecia 12 months ago
I’m surprised about the Shadow DOM implications, didn’t think it was that complex!
NA
Nan 12 months ago
C makes sense, shared CSS is a good approach.
RO
Rosalyn 12 months ago
Wait, D is wrong, right? Child components don’t inherit styles!
TH
Theron 1 year ago
Totally agree with A, SLDS needs to be in both.
ST
Stevie 1 year ago
B is definitely true, styles don’t carry over.
RI
Rickie 1 year ago
I practiced a similar question, and I think any shared styles should come from a separate CSS file. So, option C sounds right to me.
DE
Desiree 1 year ago
I'm a bit unsure about the SLDS classes. I think they might need to be imported into both components, but I can't recall if that's always necessary.
KI
Kimberely 1 year ago
I remember that the Shadow DOM encapsulates styles, so I think the styles from the parent won't apply to the child components. That makes me lean towards option B.
LA
Laurel 1 year ago
I feel like the styles from the parent should be inherited by the child components, but I remember something about encapsulation in Shadow DOM that makes me doubt that. Maybe option D is incorrect?
PA
Patti 1 year ago
Okay, let's see. Profiles, Sharing Rules, and Role Hierarchy all sound like they could be ways to control record-level access. I'll have to double-check which one is not.
HA
Hailey 1 year ago
This seems like a tricky one. I'll need to think through the mobility group configuration carefully.
0/2000 characters

Save Cancel