Skip to content

Instantly share code, notes, and snippets.

Avatar

Margaret Moser margaretmoser

View GitHub Profile
View gist:94630af9db90be96a43cdc9cdf2d0202
@connect({
mapMutationsToProps: ({ state }) => {
return {
saveBookmark: (...) => ({
mutation: graphql`
mutation createBookmark($bookmarkInputParam: bookmarkInput){
createBookmark(bookmarkInfo: $bookmarkInputParam)
{ <= this is the data I want to get to
uuid
...
View index.html
<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 Jan 11, 2015
how can I talk to bl.ocks.org
View index.html
<html>
<head>
</head>
<body>
<p>hello</p>
</body>
</html>