Reason & React Native: developing a sample feature

October 17, 2018

For a while I’ve been growing more and more interested in using Reason to develop my React Native applications. Reason is a new dialect for OCaml, a language particularly known for its strong type system. Reason lets us use the power of OCaml, but with syntax that is really familiar for JavaScript developers.

reason

I think there’s a lot of benefits of using Reason to write your React Native applications. I like its expressiveness. I like the workflow when we get instant warnings and errors from compiler without having to run the code ourselves and check. But most of all, I like it for the correctness guarantees it gives us. Of course, it won’t really guarantee that the application we’re building is free of bugs, but it will help a lot to protect us from common programming errors.

In this episode of Brain Picks I wanted to show how working with Reason and React Native can feel on a daily basis. I’ll show you the process of adding a simple feature to an existing application. Enjoy!

PS. If you’d like to play around with the app that I’m working on in the video, you’re in luck! It’s open source and you can get it on GitHub.

Blog author: Wojciech Ogrodowczyk
WRITTEN BY

Wojciech Ogrodowczyk

Software developer

More Brains and Beards stories

Clicking "I want to know more" you consent to processing your data by Brains & Beards sp. z o.o. for marketing purposes, including sending emails.