News for hackers. Stuff that matters.
Re:The State of JavaScript 2017 by myth_drannon on Tuesday December 12, 2017 @08:20PM (#15911203)
Last year I was excited about Elm, this year about Reason. I follow a bunch of Reason folks on Twitter and see lots interesting projects. I also keep seeing React core devs keep dropping hints that React will be rewritten in Reason which makes sense since originally it was written in SML.
Re:The State of JavaScript 2017 by spicyj on Tuesday December 12, 2017 @11:28PM (#15912030)
We don’t have any plans to rewrite React in Reason right now, sorry! Maybe one day.
Re:The State of JavaScript 2017 by jaylynch on Tuesday December 12, 2017 @08:30PM (#15911246)
Same here.

Since hearing about it we have a port of a large project in progress and whilst the typing is nice, the improvement in build time alone looks like making it a worthwhile exercise.

Big things to come I suspect, particularly with it feeling like such a natural progression of so much of FB's recent JS work.

Re:The State of JavaScript 2017 by namuol on Tuesday December 12, 2017 @08:52PM (#15911350)
> I also keep seeing React core devs keep dropping hints that React will be rewritten in Reason

Seems like a natural fit. Wasn't the whole Fiber architecture inspired Algebraic Effects, natively possible in OCaml?

Sebastian Markbåge even toyed with adding algebraic effects to JS... wild stuff:

https://esdiscuss.org/topic/one-shot-delimited-continuations...