BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer II 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
5 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
5 months ago
C) Adding an event handler? That's like putting a turbo engine on a bicycle. Overkill much?
upvoted 0 times
Daisy
4 months ago
C) Adding an event handler? That's like putting a turbo engine on a bicycle. Overkill much?
upvoted 0 times
...
Lorriane
5 months ago
B) Move the contents of
upvoted 0 times
...
Luis
5 months ago
A) Change the type of contactInfo to 'Map'.
upvoted 0 times
...
...
Glenn
5 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
4 months ago
C) Adding a change event handler for showContactInfo could optimize the component's performance.
upvoted 0 times
...
Whitley
5 months ago
A) Yeah, changing the data type might not be the best solution. Moving the content sounds more promising.
upvoted 0 times
...
Mignon
5 months ago
A) Changing the data type to Map might not be the best solution for improving performance.
upvoted 0 times
...
Ahmed
5 months ago
B) Moving the contents of
upvoted 0 times
...
Shantay
5 months ago
B) Moving the contents of
upvoted 0 times
...
Myrtie
5 months ago
B) Move the contents of
upvoted 0 times
...
Josefa
5 months ago
A) Changing the data type to Map? Really? That's like putting a bandaid on a broken leg.
upvoted 0 times
...
...
Mariann
6 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
6 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
5 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
6 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
...
...