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
- no JS / SSG (default)
- eager loading -
loading="eager"
- lazy -
loading="lazy"
- 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.
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 supportloading="eager"loading="lazy"For JavaScript that is needed, should try and programmatically
addPassthroughCopyfor the user.Might need some help from WCC for no. 3.