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

Ensure CSS loading in-order #128

Open
@guybedford

Description

@guybedford

The JS corresponding to the CSS load will always execute in the correct execution order of requires, so it should be possible to use this guarantee to ensure that the corresponding CSS files are arranged in the correct order.

This should be possible by gathering the style tags into two groups - currently loading, and loaded, which appear consecutively in the HEAD tag. The execution call would then move the style tag from the currently loading group and place it at the end of the loaded group, thus ensuring the correct style ordering.

Contributions very welcome here, otherwise will leave it up as a feature issue for the time being.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions