flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS] Do we have a similar invalidation/commit concept as with the old Flex SDK?
Date Mon, 09 Jan 2017 16:41:04 GMT

On 1/8/17, 12:31 AM, "Harbs" <harbs.lists@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


View raw message