This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo npm install -g create-react-app | |
create-react-app my-app | |
cd my-app | |
npm i -s axios bootstrap jquery popper.js react-redux react-router-dom redux redux-form redux-thunk | |
npm run eject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
export default class Upload extends Component { | |
constructor(props) { | |
super(props); | |
this.state = {fileOne: null,fileTwo: null}; | |
this.uploadOne = this.uploadOne.bind(this); | |
this.uploadTwo = this.uploadTwo.bind(this); | |
this.submitFormOne = this.submitFormOne.bind(this); |