Skip to content

Instantly share code, notes, and snippets.

@connect({
mapMutationsToProps: ({ state }) => {
return {
saveBookmark: (...) => ({
mutation: graphql`
mutation createBookmark($bookmarkInputParam: bookmarkInput){
createBookmark(bookmarkInfo: $bookmarkInputParam)
{ <= this is the data I want to get to
uuid
...
<p id="targetParagraph">If you click on the "Hide" button, I will disappear.</p>
<p>BUT I WILL REMAIN</p>
<button id="hideThingsFromLaura">Hide</button>
<button id="showThingsToLaura">Show</button>
@margaretmoser
margaretmoser / index.html
Created January 11, 2015 01:53
how can I talk to bl.ocks.org
<html>
<head>
</head>
<body>
<p>hello</p>
</body>
</html>