3 ms·
It's css-layout: https://github.com/facebook/css-layout https://github.com/facebook/css-layout. The same engine used in React Native. It turns out that you only
by jlongster 12y ago
It's css-layout: https://github.com/facebook/css-layout https://github.com/facebook/css-layout. The same engine used in React Native. It turns out that you only need a portion of CSS for apps. It's very performant.
- mortenjorck 12y agoHuh. Using a reimplemented, minimal CSS engine would mean more or less baked-in cross-browser compatibility, right?
- jlongster 12y agoYes, but it's hard to do your own layout on the web because in times that want to width of an element that has text with `flex: 0`, you can't do that. It's mainly useful for things like this where you control everything.