From 715831a78062cac700276e2631554ab05ec5c32a Mon Sep 17 00:00:00 2001 From: matteo Date: Thu, 8 Nov 2018 18:22:06 +0100 Subject: [PATCH] commit2 --- src/Suggestion.js | 54 +++++++++++++++++++++++++++++++++++++ src/VideoInfo.js | 51 +++++++++++++++++++++++++++++++++++ src/index.css | 0 src/index.js | 1 - src/reccomenders/Random.js | 51 +++++++++++++++++++++++++++++++++++ src/reccomenders/Related.js | 51 +++++++++++++++++++++++++++++++++++ 6 files changed, 207 insertions(+), 1 deletion(-) create mode 100644 src/Suggestion.js create mode 100644 src/VideoInfo.js delete mode 100644 src/index.css create mode 100644 src/reccomenders/Random.js create mode 100644 src/reccomenders/Related.js diff --git a/src/Suggestion.js b/src/Suggestion.js new file mode 100644 index 0000000..2185fd8 --- /dev/null +++ b/src/Suggestion.js @@ -0,0 +1,54 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; +import Random from './reccomenders/Random'; +import Related from './reccomenders/Related'; +// and so on.. + +class Suggestion extends Component { + constructor(props) { + super(props); + + } + + componentWillMount() { + + } + + componentDidMount() { + + } + + componentWillReceiveProps(nextProps) { + + } + + shouldComponentUpdate(nextProps, nextState) { + + } + + componentWillUpdate(nextProps, nextState) { + + } + + componentDidUpdate(prevProps, prevState) { + + } + + componentWillUnmount() { + + } + + render() { + return ( +
+ +
+ ); + } +} + +Suggestion.propTypes = { + +}; + +export default Suggestion; \ No newline at end of file diff --git a/src/VideoInfo.js b/src/VideoInfo.js new file mode 100644 index 0000000..4d27d24 --- /dev/null +++ b/src/VideoInfo.js @@ -0,0 +1,51 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; + +class VideoInfo extends Component { + constructor(props) { + super(props); + + } + + componentWillMount() { + + } + + componentDidMount() { + + } + + componentWillReceiveProps(nextProps) { + + } + + shouldComponentUpdate(nextProps, nextState) { + + } + + componentWillUpdate(nextProps, nextState) { + + } + + componentDidUpdate(prevProps, prevState) { + + } + + componentWillUnmount() { + + } + + render() { + return ( +
+ +
+ ); + } +} + +VideoInfo.propTypes = { + +}; + +export default VideoInfo; \ No newline at end of file diff --git a/src/index.css b/src/index.css deleted file mode 100644 index e69de29..0000000 diff --git a/src/index.js b/src/index.js index 4e8272c..806b6b2 100644 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,6 @@ import 'react-app-polyfill/ie9'; //import '@babel/polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; -import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; import { HashRouter } from 'react-router-dom'; diff --git a/src/reccomenders/Random.js b/src/reccomenders/Random.js new file mode 100644 index 0000000..0fa8de7 --- /dev/null +++ b/src/reccomenders/Random.js @@ -0,0 +1,51 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; + +class Random extends Component { + constructor(props) { + super(props); + + } + + componentWillMount() { + + } + + componentDidMount() { + + } + + componentWillReceiveProps(nextProps) { + + } + + shouldComponentUpdate(nextProps, nextState) { + + } + + componentWillUpdate(nextProps, nextState) { + + } + + componentDidUpdate(prevProps, prevState) { + + } + + componentWillUnmount() { + + } + + render() { + return ( +
+ +
+ ); + } +} + +Random.propTypes = { + +}; + +export default Random; \ No newline at end of file diff --git a/src/reccomenders/Related.js b/src/reccomenders/Related.js new file mode 100644 index 0000000..f031881 --- /dev/null +++ b/src/reccomenders/Related.js @@ -0,0 +1,51 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; + +class Related extends Component { + constructor(props) { + super(props); + + } + + componentWillMount() { + + } + + componentDidMount() { + + } + + componentWillReceiveProps(nextProps) { + + } + + shouldComponentUpdate(nextProps, nextState) { + + } + + componentWillUpdate(nextProps, nextState) { + + } + + componentDidUpdate(prevProps, prevState) { + + } + + componentWillUnmount() { + + } + + render() { + return ( +
+ +
+ ); + } +} + +Related.propTypes = { + +}; + +export default Related; \ No newline at end of file