-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
Description
I know that CSS grids are a good alternative to tables but not available in react-native/yoga. A layout property for multiple lines would solve a lot of problems and make CSS grids less overused. CSS grids also tend to not scale well because you need to define everything on the parent.
Currently it's not possible to render a simple dynamic bar chart with X and Y axis without using tables or grids. A bar chart has nothing to deal with tables or grids.
I'm thinking about something like this:
flex-wrap-layout: tabular
Currently dealing with tables a bit of magic to achieve flex-like layout.
You need something like this:
table {
width: 100%;
table-layout: fixed;
}
td {
width: 100px;
}
td:last-child {
width: 100%;
}This gets very complicated very quickly.
