A developer implemented a custom data table in a Lightning web component with filter functionality. However, users are submitted support tickets about long load times when the filters are changed. The component uses an Apex method that is called to query for records the selected filters.
What should the developer do to improve performance of the component?
A . Use setStorable( ) in the Apex method to store the response in the client-side cache
B. Return all records into a list when the component is created and filter the array in JavaScript
C. Use SOSL to Query the records on filter change.
D. Use a selective SOQL query with a custom index.
Answer: A
Latest PDII Dumps Valid Version with 280 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund