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> |
View index.html
<html> | |
<head> | |
</head> | |
<body> | |
<p>hello</p> | |
</body> | |
</html> |