by rcdmd · 8y ago · 0 comments
https://caniuse.com/#search=flexbox https://caniuse.com/#search=grid
There are typical 1D places (stacks of divs, basically), so typical for flex. But since I can do the same with grid I wonder if I should use flex anywhere now (even for 1D).
Note: browser compatibility does not matter for this site
It's almost like an uncanny valley effect - its similar enough to lure you into a false sense of security, until you realise that defaults for flex-direction are reverse, or it implements flex/flex-grow/flex-shrink/flex-basis completely differently.
I first used flexbox with RN and was kinda baffled when using it on the Web later