I have a parent component that renders a grid of many cells. Each cell of the grid is a child component, which loads its own data as needed. But there is also a special child that should aggregate data from the other childs reactively.
It would be possible to declare a computed object of aggregates in the parent component, and send its data as props to the aggregate child. But how can the parent get the data of its childs to compute?
1.4m articles
1.4m replys
5 comments
57.0k users