A Loading component for ReactJS.
npm install reloading

> A Loading component for React.
npm install --save reloading
var React = require('react');
var Loading = require('reloading');
var App = React.createClass({
getInitialState: function () {
return {
loading: false
};
},
doRequest: function () {
this.setState({
loading: true
});
},
completeRequest: function () {
this.setState({
loading: false
});
},
render: function() {
return (
##### Custom Content
##### Loading Text
##### CSS Class
##### Font Awesome Icon
http-server from npm, run it and go to http://127.0.0.1:8080/ npm install -g http-server
npm run serve
In another tab:
npm run watch