Records and Objects in Reason

Nik Graf
InstructorNik Graf

Share this video with your friends

Send Tweet

Records are like JavaScript objects but are

  • immutable by default
  • fixed in field names and types

We walk through how to create, access, update and destructure records. In certain niche situations we don't know the structure of our data ahead. In such cases using ReasonML objects works great.