{"product_id":"9781789344233","title":"ReasonML Quick Start Guide: Build fast and type-safe React applications that leverage the JavaScript and OCaml ecosystems","description":"\u003cp\u003e\u003cb\u003eA hands on approach to learning ReasonML from the perspective of a web developer.\u003c\/b\u003e\u003c\/p\u003e\u003cstrong\u003eKey Features\u003c\/strong\u003e\u003cul\u003e\n\u003cli\u003eHands on learning by building a real world app shell that includes client-side routing and more.\u003c\/li\u003e\n\u003cli\u003eUnderstand Reason’s ecosystem including BuckleScript and various npm workflows.\u003c\/li\u003e\n\u003cli\u003eLearn how Reason differs from TypeScript and Flow, and how to use it to make refactoring less stressful.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cstrong\u003eBook Description\u003c\/strong\u003eReasonML, also known as Reason, is a new syntax and toolchain for OCaml that was created by Facebook and is meant to be approachable for web developers. Although OCaml has several resources, most of them are from the perspective of systems development. This book, alternatively, explores Reason from the perspective of web development.\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eYou'll learn how to use Reason to build safer, simpler React applications and why you would want to do so. Reason supports immutability by default, which works quite well in the context of React.\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eIn learning Reason, you will also learn about its ecosystem – BuckleScript, JavaScript interoperability, and various npm workflows. We learn by building a real-world app shell, including a client-side router with page transitions, that we can customize for any Reason project. You'll learn how to leverage OCaml's excellent type system to enforce guarantees about business logic, as well as preventing runtime type errors. You'll also see how the type system can help offload concerns that we once had to keep in our heads.\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eWe'll explore using CSS-in-Reason, how to use external JSON in Reason, and how to unit-test critical business logic. By the end of the book, you'll understand why Reason is exploding in popularity and will have a solid foundation on which to continue your journey with Reason.\u003cstrong\u003eWhat you will learn\u003c\/strong\u003e\u003cul\u003e\n\u003cli\u003eLearn why Reason is exploding in popularity and why it's the future of React\u003c\/li\u003e\n\u003cli\u003eBecome familiar with Reason's syntax and semantics\u003c\/li\u003e\n\u003cli\u003eLearn about Reason's ecosystem: BuckleScript and JavaScript interoperability\u003c\/li\u003e\n\u003cli\u003eLearn how to build React applications with Reason\u003c\/li\u003e\n\u003cli\u003eLearn how to use Reason's type system as a tool to provide amazing guarantees\u003c\/li\u003e\n\u003cli\u003eGain a solid foundation on which to continue your journey\u003c\/li\u003e\n\u003c\/ul\u003e\u003cstrong\u003eWho this book is for\u003c\/strong\u003e\u003cp\u003eThe target audience of this book is web developers who are somewhat familiar with ReactJS and who want to learn why ReasonML is the future of ReactJS.\u003c\/p\u003e","brand":"Packt Publishing","offers":[{"title":"Default Title","offer_id":46536348762353,"sku":"9781789344233","price":23.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0674\/5433\/7265\/files\/9781789344233_p0.jpg?v=1771136519","url":"https:\/\/shop.barnesandnoble.com\/products\/9781789344233","provider":"Barnes \u0026 Noble","version":"1.0","type":"link"}