I am trying to pass data from child component "A" to parent component "B" (In component "B" i am using component "A")
Basically i am creating a product detail page , so on click product from category component , it will open product , page but it should also show data of only the product which is clicked , how can i achieve that ?
So i to create a route with a dynamic parameter (for the product slug or ID) and then navigate to that route when the product thumbnail is clicked.
Your suggestions appreciated