github-reason-react-tutorial
github-reason-react-tutorial copied to clipboard
Another thing is that the examples using data array are showing "loading" in the browser but never update with the data. This is the code I have that is doing...
At the Don't Repeat Yourself/ open helper section of your demo. The following proposed code throws an error: ``` let parseRepoJson = (json: repo) => Json.Decode.{ full_name: field("full_name", string, json),...
You have this: ```render: (self) => { let repoItem = switch (self.state.repoData) { | Some(repo) => | None => ReasonReact.stringToElement("Loading") }; **{ReasonReact.stringToElement("Reason Projects")** repoItem } ``` - should be this?...
Love the tutorial. However I've been looking around for how to handle side effects properly with reducer components and can't find much information. A scenario being if we had a...