function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rajesh k 10rajesh k 10 

what is the use of custom components in salesforce?

Assuming you are talking about Visualforce components, these allow you to encapsulate Visualforce for re-use across a number of pages, much like you would put code into methods to allow it to be executed from multiple places.  They also allow for straightforward functional decomposition, to break up a huge Visualforce page into manageable chunks.