Skip to content

Instantly share code, notes, and snippets.

View grydstedt's full-sized avatar

Gustav Rydstedt grydstedt

View GitHub Profile
/*
export default new GraphQLObjectType({
name: 'User',
description: 'A user',
fields: () => ({
first_name: {
type: GraphQLString,
description: 'The first name of the user.'
},
email: {
var React = require('react');
var _ = require('underscore');
var WrapperMixin = {
componentWillMount: function() {
if (!this.wrapRender) return;
var _this = this;
var oldRender = this.render;