Skip to content

[LinkTagModuleImport] render blocking #1375

Description

@trusktr

Some people want to solve FOUC with module <link> stylesheet tags.

I didn't see it in the explainer, so I thought I'd comment that I think it should be non-blocking by default, with opt in:

Non-blocking:

<link
  rel=stylesheet
  type=module
  href=foo
/>

Blocking (one way to avoid FUOC with the trade off that content after the link tag is not rendered until after the network request):

<link
  rel=stylesheet
  type=module
  href=foo
  blocking
/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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