rescript-association / reasonml.org

Deprecated in favor of rescript-lang.org
MIT License
125 stars 34 forks source link

Add bs-blabla to Reason JS Compiler docs. #125

Closed fhammerschmidt closed 4 years ago

fhammerschmidt commented 4 years ago

This solves #100.

This PR is basically the whole bs-blabla as-is. I only added a small Intro and some Info-Boxes where applicable.

I also added two decorator sections which are not (yet) included in bs-blabla. At some point we need to revise the content anyway, because it does not take records-as-objects into account (and maybe more things).

Furthermore, the new [@unboxed] attribute would also fit in here, but it is not a @bs.-decorator.

ryyppy commented 4 years ago

Furthermore, the new [@unboxed] attribute would also fit in here, but it is not a @bs.-decorator.

... but it's a decorator and the decorators.mdx page should cover all available decorators :)

We can have a separate page for the unboxed feature (maybe take the related blog post as a basis) and add the unboxed keyword in the reference list, pointing to this particular section later on?