Optional Attribute Access in Reason
State of Reason Survey: Preliminary Results
I'm planning to do some fancy social science analysis of the results, but first I'll just give you a dump of the summary data that came out of this.
First of all, there were 398 responses! Thanks to everyone who contributed :)
Deploying Native Reason/OCaml with Zeit's now.sh
I'm working on a new ReasonReact project that will need a stateful server, and I thought it might be nice to write that in Reason too :) but what's the best way to deploy it? And by "best" I mean "easiest, with a free-to-try option". After looking around a little, I settled on Zeit's now.sh.
What did I end up with? A 10mb docker image with a server inside!
Reason mobile cross-compilation deep dive
Hot-reloading OCaml on Web, Desktop, and Android3 minute read
Building async/await in Reason
Lots of people have come into the discord channel asking about how to elegantly deal with async things. We've got
Promise.then_ and good old callbacks, but having a syntax like
async/await can really make things nicer when you have a lot of async going on. So far in the web clients I've made, there hasn't been enough asynchrony to really feel that pain, but I thought it would be an interesting challenge to tackle anyway.
A ReasonReact Tutorial
Are you a big fan of React, and want to know more about Reason/OCaml? I made this for you!
This tutorial was updated on Dec 8, 2018 for reason-react version 0.5.3.
This tutorial aims to give you a nice introduction to the syntax and type system of Reason, through the ReasonReact library. We'll be building a simple Todo list application.
When will ReasonML be ready?
What's the current status? At the moment, we're mostly in the realm of "enthusiasts who are OK with being on the bleeding edge, and want to help build out the foundation in their spare time."
Template-based macros in Reason/OCaml
A couple of people have shown up in the discord channel asking whether Reason has macros, and the answer is "sort of." I think we can do better.
Your first native Reason/OCaml project
I just wrote my first Reason project that compiled to native, and you can too! Luckily for you, my first native project was a cli tool to help people get started with native Reason development 🙌.
Getting Started with Reason and BuckleScript
A couple of people have asked me how to get up and running recently, so I thought I'd put something together. If you're looking for a "just clone this repo & go", here's a very simple boilerplate I put together for this post, or you can check out the reason-react-example repository.