Skip to content

[QUESTION] Is components guaranteed to load after DOMContentLoaded? #8

@dotnetCarpenter

Description

@dotnetCarpenter

I was about to implement DOMContentLoaded in my require.callback function. When it dawned on me that rvc is used with an exclamation mark (e.i. deps: ["ractive", "rvc!components/filter"]). Does that mean that rvc is loaded after the DOM is ready as described in RequireJS#pageload documentation? Or does rvc do any DOM ready logic before inserting/appending a component?

I just want to make sure I don't need to track down race conditions later.

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