News for hackers. Stuff that matters.
Re:Elm 0.19 Broke Us by jnbiche on Saturday August 25, 2018 @06:33PM (#17842943)
> Too many in the community want this or that and/or don't feel their opinion is heard. Then they switch to something else. Unfortunatley I think something like ReasonML will win in the end.

That's not the only reason ReasonML will win. The BuckleScript JS compiler generates fantastic JavaScript, with no huge extra runtime at all. Also, ReasonML benefits from all the stability of OCaml's type checker. And, as you suggest, both ReasonML and BuckleScript are in my experience a much friendlier and open community to experienced devs and commercial users.

Re:Elm 0.19 Broke Us by sdnguyen90 on Saturday August 25, 2018 @08:43PM (#17843502)
The runtime is not that big with 0.19 in my experience. I rewrote a (P)react component that was 5kb and Elm came out to be 6.8kb.

If you're comparing it to ReasonReact, you still have the React/ReactDOM Javascript dependency which is still ~30kb gzipped

Re:Elm 0.19 Broke Us by bjz_ on Saturday August 25, 2018 @11:08PM (#17843999)
Kind of curious if anyone's played around with using incr_dom with Reason:

- https://github.com/janestreet/incr_dom/

- https://www.youtube.com/watch?v=h_e5pPKI0K4

Seems like it might be tied to js_of_ocaml though...

Re:Elm 0.19 Broke Us by PascalW on Sunday August 26, 2018 @04:59AM (#17845011)
React is unfortunately quite big indeed. However you can actually replace React in ReasonReact with an API compatible alternative via Webpack.

I tried this a few weeks back and have to say that it only worked with Inferno.js though, not Preact (lack of React 16 feature support) nor Nerv.js.