Skip to content

Conversation

@chrisphillers
Copy link

No description provided.

@chrisphillers
Copy link
Author

chrisphillers commented Oct 2, 2018

Incomplete - readme missing, not tidied up, functions unimplemented, unfinished styling.

constructor() {
super();

this.state = { films: [], pageNum: 1, currentSearchFlim: "love", unFound: {gif: '', h6: ''}, hideButtons: true};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to break out each property definition onto own line to make code easier to read

render(){
handleNext() {

// this.setState(prevState =>Object.assign({}, prevState, { pageNum: prevState.pageNum + 1 }))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commented out code should be removed to avoid clutter

<div></div>
<div className="lower__buttons__wrapper">
<button className="lower__button__2" onClick={this.handlePrevious} href="#top">Back</button>
<button className="lower__button__1" onClick={this.handleNext} href="#top" >Next</button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

button should not have an href

@dmitrigrabov
Copy link
Contributor

Very nice work, but a lot of commented out code that should be deleted. It adds quite a lot of clutter and makes code more difficult to read

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants