Skip to content

Instantly share code, notes, and snippets.

@pmqa pmqa/app.js
Created Jul 28, 2017

Embed
What would you like to do?
React.js testing gist
import React, { Component } from 'react';
import ReactDOM from "react-dom";
class App extends Component {
constructor() {
super();
this.state = {
loading: true
};
}
componentDidMount() {
this.fetchData();
}
render() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.