Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
Please advise me which one solution is better for communicating across components. Because for me they are similar to each other.
4 answers
  1. Feb 2, 2018, 1:53 PM
    Ok, so in the face of component event which one is better to use components event or aura:method ? and what about performance difference?
  2. Jan 31, 2018, 4:15 PM

    Hi Artur,

    Please mark it as best answer if the information is informative.

    Thanks

    Rahul Kumar
  3. Jan 31, 2018, 3:05 PM
    Thank's Rahul 

    I have seen this before but there isn't information about component events...
  4. Jan 31, 2018, 2:48 PM

    Hi Artur,

    • Application events are really expensive.As a best practice, it's recommended to avoid them unless you need them badly. It's reserved for something that's needed across the application.
    • aura: method is a great alternative.It keeps code readable and maintainable and there is less code needed.

    please refer the below link for reference.

    hope it helps.

    Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

    Thanks

    Rahul Kumar

     
0/9000