- ReasonML Quick Start Guide
- Raphael Rafatpanah Bruno Joseph D'mello
- 114字
- 2021-07-02 12:34:14
Interoperability
That being said, sometimes—and especially when first learning about type systems—you may be unsure as to how to get your code to compile. Reason, through BuckleScript, allows you to drop down to raw JavaScript when you need to, either via bindings or directly inside your Reason (.re) files. This gives you the freedom to figure things out as you go along in JavaScript, and then once you're ready, convert that section of the code to type-safe Reason.
BuckleScript also lets us bind to idiomatic JavaScript in a very reasonable way. As you'll learn in Chapter 4, BuckleScript, Belt, and Interoperability, BuckleScript is an incredibly powerful part of Reason.
推薦閱讀
- 物聯(lián)網(wǎng)(IoT)基礎(chǔ):網(wǎng)絡(luò)技術(shù)+協(xié)議+用例
- Building RESTful Web Services with Spring 5(Second Edition)
- 網(wǎng)絡(luò)安全技術(shù)與解決方案(修訂版)
- 中小型局域網(wǎng)組建、管理與維護(hù)實(shí)戰(zhàn)
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- Learning Windows 8 Game Development
- 一本書讀懂TCP/IP
- 基于IPv6的家居物聯(lián)網(wǎng)開發(fā)與應(yīng)用技術(shù)
- Getting Started with tmux
- SRv6網(wǎng)絡(luò)部署指南
- Enterprise ApplicationDevelopment with Ext JSand Spring
- Python API Development Fundamentals
- 工業(yè)以太網(wǎng)技術(shù):AFDX/TTE網(wǎng)絡(luò)原理、接口、互連與安全
- 數(shù)字王國(guó)里的虛擬人:技術(shù)、商業(yè)與法律解讀
- 物聯(lián)網(wǎng)技術(shù)與實(shí)踐