Interoperability with JavaScript is one of the highlights of ReScript that makes it well-suited for web development. It allows ReScript programs to use the huge ecosystem of JavaScript libraries that many web developers are already familiar with. Interoperability also makes it easy to convert parts of an existing JavaScript code base into ReScript while maintaining compatibility with existing code, whether for experimentation purposes or as part of a wider migration effort.
In this chapter, we’ll discuss the runtime representations ...