A Concise Pattern for Container-and-Content Elements in React
Imagine you have to develop a Grid component with React. And any arbitrary JSX element can be used as content for your Grid.
How do you specify which element goes into which grid cell?
A common approach is to provide wrapper elements for rows and col...
teetotum.hashnode.dev5 min read