Skip to content

Should childs re-render when parents render #8

@3rd-Eden

Description

@3rd-Eden

Currently when you parent pagelet and it re-renders the layout the childs will not re-render. This needs to be done manually. It might make more sense to have the child pagelets listen to parent's render event and trigger a render after that.

As an additional optimization we could be given the new DOM tree, and modify that before it's added to the root element of the parent node so we have to do less DOM manipulation. Of course this wouldn't be needed if we adopted something like a shadow/virtual dom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions