On 3/14/16, 4:17 AM, "santanu4ver" <[email protected]> wrote:

>It's about FlexJS SDK and output as HTML.
>

In FlexJS, we are trying to make things "pay-as-you-go" (PAYG).  In the
regular Flex SDK, lots of code is dedicated to "just-in-case".  If you
think about the number of containers in an app and how many actually
change colors, you can imagine that in many apps, running extra code to
watch for background color changes that never happen can be wasteful.

In FlexJS, PAYG will commonly be implemented with different beads, so you
don't have chunks of code with a bunch of if statements that don't do
anything.  It turns out we haven't written the version of
SolidBackgroundBead that watches for changes to className (or actually,
listens for layoutNeeded or maybe a styleChanged event).

If you want to try to create the missing beads, we'll be happy to try to
help you get started.

-Alex

Reply via email to