Skip to content

Instantly share code, notes, and snippets.

@idkjs
Created November 10, 2017 12:34
Show Gist options
  • Save idkjs/fb541ca929950879d4000e37fd26eadf to your computer and use it in GitHub Desktop.
Save idkjs/fb541ca929950879d4000e37fd26eadf to your computer and use it in GitHub Desktop.
debugging graphql response apollo-reason
let component = ReasonReact.statelessComponent("Episode");
let make = (~style=?, ~episode, _children) => {
...component,
render: (_self) => <View ?style> <h1> (ReasonReact.stringToElement(episode)) </h1> </View>
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment