Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: add link preload "as" to HTMLAttributes type definition (#907)
Link preloads support an as attribute. e.g.: <link rel="preload" href=foo.css as: "style" /> <link rel="preload" href=foo.js as: "script" /> Update the HTMLAttributes type definition to avoid workarounds like: <link rel="preload" href=foo.css {...{ as: "style" }} /> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link https://w3c.github.io/preload/#as-attribute
- Loading branch information