The component response is amazing when we know how to separate concerns. However, I find this case very difficult for the abstract.
| A | B | C |
| Aa | Ba | Ca |
| Ab | Bb | Cb |
| Ac | Bc | Cc |
I have an API that returns 1 column per query, for example: [Aa, Ab, Ac] so I usually want A, B, C to be a React component and make it its parent component
However, in this case, I cannot easily do this due to the structure of the html tr structure for each component, and not for the column.
Does anyone have an idea about this?
source share