In this post I'll demonstrate some real-time communication in a simple application using ReasonML. If you're brand new to Reason, some assumed bas...
For further actions, you may consider blocking this person and/or reporting abuse
Loving this post. Setup, server,
bs-socket
, client, and ReasonReact all in a short post, but still possible to follow for a beginner.You could just use
[@bs.val] external portEnv: option(string) = "process.env.PORT";
right?Because we aren't expecting
null
, onlyundefined
?Hm I believe you're right - I'll double check and update if so!
EDIT: It's so - updated. Thanks!
Great article, we need more ReasonML posts so keep them coming. :)