First impression of ReasonML + React after the workshop:
+ Loved the type checking
+ Syntax is pretty natural (mostly... ## is weird)
+ Pattern matching is nice
- Cryptic error messages
- Annoying having to constantly cast types with ReasonReact
Conversation
Also super interested to hear you elaborate on your experience of the type system. Both the good and the bad. ๐
1
I liked how we knew the code was valid before running it, felt like it really helped us learn the syntax quickly. Problem was, when the code was invalid, the error message often didn't give us much guidance on what we should be doing differently.
1
1
Show replies
Like, you can't just render a string, you have to call ReactReason.string(...)
1
2
Ah, right! Yeah I did notice that in the ReasonReact docs... seems like an interesting design decision, seeing as it is a common case. Elm's `Html.text` is a little more succinct, which is nice.
1
Show replies

