Random notes
Javascript bindings
[@bs.deriving jsConverter]
doesn't work for variants, it reduces down to the ordinal (e.g.type orientation = |Horizontal |Vertical
results in0
or1
).- passing in
None
for a property still creates that property sohasOwnProperty
returns true