Earlier quoted context omitted.
I wouldn't hold my breath waiting for IE to fully support it.
Uh, Edge already fully supports it. I don't think they are adding new features to IE anymore.
Yoga: A cross-platform layout engine
11–20 of 168 posts
Re: Yoga: A cross-platform layout engine
#12Re: Yoga: A cross-platform layout engine
#13Flexbox could be implemented as a framework on top of this.
Re: Yoga: A cross-platform layout engine
#14Yoga's layout API is very similar, if not a direct copy, of the web's Flexbox. Which funny enough means that we might get a chance to use Flexbox on the desktop before we can use it on the web. (I'm looking at you IE and your continuing partial support: http://caniuse.com/flexbox )
Yes, it's directly based on CSS Flexbox. See more info about the similarities and differences here – in particular a few default values are different: https://facebook.github.io/yoga/docs/learn-more/
Re: Yoga: A cross-platform layout engine
#15Yoga's layout API is very similar, if not a direct copy, of the web's Flexbox. Which funny enough means that we might get a chance to use Flexbox on the desktop before we can use it on the web. (I'm looking at you IE and your continuing partial support: http://caniuse.com/flexbox )
Re: Yoga: A cross-platform layout engine
#16Re: Yoga: A cross-platform layout engine
#17Why not just embrace Cassowary ( https://en.wikipedia.org/wiki/Cassowary_(software) ) aka the algorithm behind Cocoa's Auto Layout? Auto Layout isn't perfect but I think that it's fundamentally the API/UI that you are working with, the concepts are definitely at the right level of abstraction. Some sort of DSL could really solve this. Flexbox could be implemented as a framework on top of this.
I too like constraint-based layout, but I have to admit flexbox is nice in that it has very predictable behavior. The main hangup I have with flexbox is that it doesn't allow for layout based on aspect ratios, but Yoga has extensions that resolve this issue.
Re: Yoga: A cross-platform layout engine
#18Why not just embrace Cassowary ( https://en.wikipedia.org/wiki/Cassowary_(software) ) aka the algorithm behind Cocoa's Auto Layout? Auto Layout isn't perfect but I think that it's fundamentally the API/UI that you are working with, the concepts are definitely at the right level of abstraction. Some sort of DSL could really solve this. Flexbox could be implemented as a framework on top of this.
Re: Yoga: A cross-platform layout engine
#19Re: Yoga: A cross-platform layout engine
#20Yoga's layout API is very similar, if not a direct copy, of the web's Flexbox. Which funny enough means that we might get a chance to use Flexbox on the desktop before we can use it on the web. (I'm looking at you IE and your continuing partial support: http://caniuse.com/flexbox )
I already use it in production. I don't really care about old IE users. I agree that not all devs can afford this, but many can.