Skip to content

Conversation

@cornedor
Copy link
Contributor

See https://html.spec.whatwg.org/multipage/links.html#link-type-preload for when this can be used. For example:

<link rel="preload" as="style" href="..." />

@peterpme peterpme added the on hold We're interested, but waiting on a feature in Reason, etc. label Jul 16, 2020
@davesnx davesnx removed the on hold We're interested, but waiting on a feature in Reason, etc. label Dec 16, 2022
Copy link
Member

@davesnx davesnx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @cornedor, you missed syncing the 2 lists: props and domProps. If you add as_ in props, I will merge this.

Thanks for the contribution!

@cornedor cornedor requested a review from davesnx December 16, 2022 08:01
@davesnx davesnx merged commit 5a4a87c into reasonml:master Dec 16, 2022
davesnx pushed a commit that referenced this pull request Dec 20, 2022
* Added `as` property to DOM props

* Added the as prop to the props type
davesnx added a commit that referenced this pull request Dec 20, 2022
…de-bs-platform-to-902

* 'master' of github.com:/reasonml/reason-react:
  Add ocaml lsp editor (#699)
  Add all aria attributes (#697)
  Update Drag.dataTransfer to Js.t (#701)
  Add drag event API binding (#641)
  Added `as` property to DOM props (#603)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants