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 Exam PDII Topic 8 Question 91 Discussion

Actual exam question for Salesforce's Platform Developer II exam
Question #: 91
Topic #: 8
[All Platform Developer II Questions]

Refer to the Aura component below:

A developer receives complaints that the component loads slowly.

Which change can the developer implement to make the component perform faster?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Ryan
2 months ago
Wow, these options are like trying to put out a fire with gasoline. I think I'll just stare at the code until it starts working faster through sheer willpower.
upvoted 0 times
...
Lavonna
2 months ago
C) Adding an event handler? That's like putting a turbo engine on a bicycle. Overkill much?
upvoted 0 times
Daisy
1 months ago
C) Adding an event handler? That's like putting a turbo engine on a bicycle. Overkill much?
upvoted 0 times
...
Lorriane
2 months ago
B) Move the contents of
upvoted 0 times
...
Luis
2 months ago
A) Change the type of contactInfo to 'Map'.
upvoted 0 times
...
...
Glenn
3 months ago
A) Changing the data type to Map? Really? That's like putting a bandaid on a broken leg. This question is a real head-scratcher.
upvoted 0 times
Daren
2 months ago
C) Adding a change event handler for showContactInfo could optimize the component's performance.
upvoted 0 times
...
Whitley
2 months ago
A) Yeah, changing the data type might not be the best solution. Moving the content sounds more promising.
upvoted 0 times
...
Mignon
2 months ago
A) Changing the data type to Map might not be the best solution for improving performance.
upvoted 0 times
...
Ahmed
2 months ago
B) Moving the contents of
upvoted 0 times
...
Shantay
2 months ago
B) Moving the contents of
upvoted 0 times
...
Myrtie
2 months ago
B) Move the contents of
upvoted 0 times
...
Josefa
2 months ago
A) Changing the data type to Map? Really? That's like putting a bandaid on a broken leg.
upvoted 0 times
...
...
Mariann
3 months ago
D) Changing the default to False sounds like a good idea. If we don't show the contact info by default, the component won't have to load all that data. Brilliant!
upvoted 0 times
...
Rosendo
3 months ago
B) is the way to go! Putting the contents of the component directly in the code will definitely make it faster. Who needs abstractions, am I right?
upvoted 0 times
Marvel
3 months ago
I'm not so sure about that. Wouldn't it be better to optimize the existing code instead of moving it around?
upvoted 0 times
...
Delsie
3 months ago
B) is the way to go! Putting the contents of the component directly in the code will definitely make it faster. Who needs abstractions, am I right?
upvoted 0 times
...
...