Live data from Hacker News

Yoga: A cross-platform layout engine

code.facebook.com

1–10 of 168 posts

Re: Yoga: A cross-platform layout engine

#3
Yoga'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

#4

Yoga'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 wouldn't hold my breath waiting for IE to fully support it.

Re: Yoga: A cross-platform layout engine

#7

Yoga'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

#8

Yoga'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.

Re: Yoga: A cross-platform layout engine

#9

Yoga'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 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.
Post reply on HN