Skip to content

add support for progressive loading and hydration strategies #5

@thescientist13

Description

@thescientist13

Currently there is no specific strategy for loading any JavaScript rendered with WCC. WCC can / should be able to forward attributes as hints in metadata, so would like to support

  1. no JS / SSG (default)
  2. eager loading - loading="eager"
  3. lazy - loading="lazy"
  4. progressive - TBD (scroll, click, etc)

For JavaScript that is needed, should try and programmatically addPassthroughCopy for the user.

Might need some help from WCC for no. 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions