Reputation: 2425
I have two components component 1
and component 2
, they are individual components. component 1
is not a parent of component 2
and vice versa. Here i would to pass data from component 2
to component 1
. How can i do that?
Upvotes: 1
Views: 43