Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Approach for Component Communication

Level 2
Level 2

Hi Team need suggestion on below to achieve.

1. I have article list component have list of articles.

2. I also have a article view component  so on click of article link this opens in same window (load article page).

3. Currently on link href, I have given article page link so on click of link article page open.


Now need a help on how to achieve below flow ?

1. Article list and Article view component is on same page.

2. On click of article link then only "Article view component' component should reload in same page itself. 

3. Means some even even should trigger to refresh this article view component.




Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies
Community Advisor
Community Advisor

@sagrawal How is the UI designed ? I think it should be controlled more from the FE . 

Level 5
Level 5

Hey @sagrawal you can achieve this multiple ways. Easiest would be to fire an ajax call. As @Veena_Vikram said, that depends on how your front end is designed.

Level 2
Level 2

This means

-  I need to make ajax call to get article data 

-  article content DIV should be updated then based on response.

- We don't have concept of specific component reload based on some some event and data inputs.