Are you a web developer looking for a safer and more elegant alternative to JavaScript? Look no further! Introducing ReScript 12 is the perfect guide for you.
This is the second edition, fully updated for ReScript 12 — covering the current
standard library, the new dict type, JSON parsing and validation, and a worked full-stack
example built with Express and React.
Learn how to use features such as type inference, null-safety, and algebraic data types to write clean and safe software with ReScript.
Discover functional programming concepts and how to seamlessly integrate ReScript with JavaScript libraries and frameworks. Get your copy now!
Looking for the first edition, covering ReScript 10? It's available on Springer, Amazon, and Barnes & Noble.
Found a mistake, or hit something that doesn't compile? Known errors in the second edition are listed on the errata page.
This book serves as a succinct guide on ReScript, a functional language for building web applications. Using examples of ReScript language features along with explanations of fundamental concepts in functional programming, this book will show web developers with a background in JavaScript how to effectively use ReScript to its full potential.
In Introducing ReScript 12, you'll learn how to use features in ReScript that JavaScript lacks, such as type inference, null-safety, algebraic data types, pattern matching, and more. Along the way, you'll pick up functional programming concepts like immutability and higher-order functions. You'll also gain a sense of how ReScript works under the hood and how to leverage interoperability between ReScript and JavaScript. Whether you're a web developer interested in dabbling with functional programming or you just want to learn how to write safer and cleaner code for web applications, this book is a great way for you to get started with ReScript.
Web developers that want a strictly typed, safer alternative to JavaScript, as well as web developers interested in learning functional programming and leveraging the elegant and powerful functional features in ReScript.