Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Splitting components out to their own render loop? #217

@funkytek

Description

@funkytek

With an app that is starting to get quite large with many nested components/state atoms what would be the best-practice way to split some of the larger components out into their own render loops? Is there any examples of this?

having multiple hg.app() calls works for a simple append, alternatively for more granular appending I've seen one case using an onLoad hook on load to attach the component via appendChild

Thoughts, anything that's been done or should not be done?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions