menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Reason

Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.

Channels
Team
Posts
Members
Info
down-caret

FreeCodeCamp ReasonML course -> https://youtu.be/sjWsAYJF8BA

message-simple
0

Exploring the squarified tree map algorithm with ReasonML

As an enthusiastic newcomer to ReasonML, I recently wrote a two-part tutorial (part one and part two) to showcase to other people how the language can be used to elegantly solve real-world problems. Feedback is welcome!

message-simple
0

Is there a way to name imported Js modules?

Is there something like [@bs.module "react" as "reactInReasonOrSomething"] that will generate const reactInReasonOrSomething = require("react")?

message-simple
3

Some use the Esy to write the react-native code?

https://esy.sh/en/

message-simple
1

Variants as React Component Props

Hey. Just started my Reason journey. As one of the first experimentations I'm trying to create a Button component in ReasonReact that could replace existing component in our codebase. The existing Button has a prop called bsStyle (based on Bootstrap) accepting values such as…

message-simple
5

Psst! Here’s why ReasonReact is the best way to write React

Hey everyone, I just published a post about why ReasonReact is really the best way to write React :) https://medium.freecodecamp.org/psst-heres-why-reasonreact-is-the-best-way-to-write-react-5088d434d035

message-simple
0

For anyone going through Jared Forsyth's 2017 tutorial with ReasonReact, here's…

Repo: https://github.com/dangdennis/reason-todo-app-tutorial My first result when googling 'reasonreact tutorial' returns Jared Forsyth's 2017 todo app tutorial. Unfortunately, I ran into a lot of troubles (great learning experience though) when trying to follow the tutorial due…

message-simple
0

Online IDEs that support ReasonML

So there's a new (yet another) online IDE in town called coder.com (https://coder.com) that follows the editor + vm approach. I tried to yarn global add bs-platform but no luck. Here were the steps I followed. • install build-essential • install nvm …

message-simple
1

ReContainers: Recompose and React Powerplug inspired render props library for…

https://github.com/Astrocoders/recontainers We started this library to move some utils we are using in our projects. Containers never felt so good as they fill with Reason! It stills on its early stages and we are still adding more components, help and PRs are welcome!

message-simple
0

bs_platform as devDep or just dep

The examples and docs i've seen have bs-platform as a devDep... but when compiling it requires pieces from bs-platform in the javasvcript. Shouldn't bs-platform be a dependency in this case?

message-simple
4