re: ReasonML with React Hooks Tutorial — Building a Pomodoro Timer VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice post! I tried to implement following your instructions but I'm getting an error on { state.seconds |> formatTime |> str } Unb...
 

Oh woops, change str to ReasonReact.string,

or put this at the top of your file:

let str = ReasonReact.string;

Sorry about that! And welcome to ReasonML I hope you enjoy playing with it :)

 
code of conduct - report abuse