Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP React Cinema Project #10

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

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.

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.

None yet

2 participants