Skip to content

Instantly share code, notes, and snippets.

View andresmijares's full-sized avatar
🍑
<3

Andres Mijares andresmijares

🍑
<3
View GitHub Profile
{"lastUpload":"2019-12-29T16:46:26.796Z","extensionVersion":"v3.4.3"}
import React from "react";
import { render } from "react-dom";
const ParentComponent = React.createClass({
getDefaultProps: function() {
console.log("ParentComponent - getDefaultProps");
},
getInitialState: function() {
console.log("ParentComponent - getInitialState");
return { text: "" };
@andresmijares
andresmijares / 0_reuse_code.js
Created June 2, 2014 15:07
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console