Skip to content

Instantly share code, notes, and snippets.

View benpetsch's full-sized avatar
😀
Contact me.

Benedikt Schmeitz benpetsch

😀
Contact me.
  • Cologne, Germany
View GitHub Profile
@richbai90
richbai90 / PageA.jsx
Last active January 12, 2020 01:30
Next.js + ApolloClient + ApolloLinkState
import Paper from "@material-ui/core/Paper";
import { withStyles } from "@material-ui/core/styles";
import { graphql } from "react-apollo";
import { compose } from 'recompose';
import getTree from './queries/getTree';
import styles from './styles';
const Canvas = ({
classes,
// activeItem,