Include %obj() in the Object Creation documentation
Would it be worth including an example of using %obj() in the section on Object Creation?
Edit: It's used in examples in the API docs, but not sure if it was intentionally omitted from the main docs or not. Thanks.
Can you point me to the API docs?
I am pretty sure the %obj() syntax is obsolete for ReScript code, because we have dedicated JS object syntax for that.
Hi @ryyppy, it's currently used in a couple of spots:
https://rescript-lang.org/docs/manual/latest/api/js/obj#assign
https://rescript-lang.org/docs/manual/latest/api/js#object
I've created a small PR to update those examples:
https://github.com/reason-association/rescript-lang.org/pull/138
Fixed in #138