Touchscreen Interface Design and Interaction
Yoga: A cross-platform layout engine

Yoga: A cross-platform layout engine

12/7/2016 · Emil Sjölander

What this post added

This post introduces Yoga, a cross-platform layout engine derived from css-layout, which aims to unify UI layout across different platforms (mobile, desktop, web). It highlights Yoga's implementation in C for performance, its bindings for Java, Objective-C, and C#, and its adoption in various Meta products and frameworks like React Native, Components for Android, Oculus, Instagram, and ComponentKit. The post details how Yoga simplifies complex layouts and optimizes performance by minimizing measurement calculations and only recalculating layouts for changed views.

Read the original post ↗