Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expands the <content> element to remember logical DOM #1017

Merged
merged 1 commit into from
Dec 11, 2014

Commits on Dec 11, 2014

  1. Expands the <content> element to remember logical DOM

    It's now capable of rerendering if logical DOM changes.
    
    Notes:
    
    * lightChildren, if present, indicates the logical child views. lightParent will be set for those elements.
    * lightChildren is an array, because that seemed like the "simplest thing that could possibly work". We could expose linked list APIs instead (firstChild, nextSibling, etc) if we wanted.
    * addLightChild/removeLightChild are a convenience, but not recommended for adding large number of items because they automatically call distributeContent(). Another option would be to schedule it and do it lazily.
    John Messerly committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    86bc783 View commit details
    Browse the repository at this point in the history