Open
Description
After original api implementation in #119 and update of ppx to support it in #128, the last step of this new api consists on migrating the "specs" implemented with types in ppx Html
module to the Prop
module in Dom_html
. The goal being to make impossible to pass wrong attributes to e.g. a div
.
I am not sure about the best way to implement this, probably could use an approach similar to bs-css
, with polyvariants + subtyping to reflect inheritance or composition based on smaller subsets of props, like here.
Metadata
Metadata
Assignees
Labels
No labels