4 ms·
That's pretty much the only thing I like from reason. it's still very goofy. <strong> (ReasonReact.stringToElement(string_of_int(count))) </strong> Compared
by boubiyeah 9y ago
That's pretty much the only thing I like from reason.
it's still very goofy.
<strong> (ReasonReact.stringToElement(string_of_int(count))) </strong>
Compared to
<strong>{ count }</strong> in ReactTS...
The interop with JS is pretty verbose too. The tooling... Doesn't work at all? :p
It might get there eventually but it doesn't seem like facebook has more than 1 or 2 engineers working on it.
- girvo 9y ago<strong> (se(count)) </strong> I’ve just built a tiny utils.re file that holds a couple of small modules, like the se function above. The built in reducerComponent with a completely flat pattern matching on the action types, values, arity and more is so lovely that I hate going back to regular React + Redux
- rhizome 9y ago(ReasonReact.stringToElement(string_of_int(count))) MV. Bold choice.