On 1/8/17, 12:31 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>Interesting. This is new to me as well. > >What’s interesting to me is that it seems like FlexJS should (mostly) not >have this problem. > >If I’m reading it correctly, it’s reading geometric properties from the >DOM which cause the reflow. Since the vast majority of reads in FlexJS is >actually on the flexjs wrappers around the DOM elements, most reads >should not trigger reflow. > >The only major exception which comes to mind is the use of DisplayUtils >methods which use getBoundingClientRect() and the like. Maybe. This definitely needs more investigation. Some layouts just set browser styles and properties and never need to read back anything. But some layouts I think do ask for parent or child sizes via offsetWidth/Height. -Alex