Skip to content

Conversation

@copelandhouse2
Copy link
Owner

In this checkpoint, I am using the Trello API to do the following

  • Pull and display List
  • Add a card to the list
  • Update a card

…ow cards in a list, add card, update card. This push contains sandbox code
Copy link

@reneemeyer reneemeyer left a comment

Choose a reason for hiding this comment

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

Craig, really nice job and separation of components. The only thing that I'm not the biggest fan of is the use of the window methods, but other than that really great job!

<meta charset="utf-8">
<title>My Trello App</title>

<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>

Choose a reason for hiding this comment

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

what are you using jquery for? you shouldn't have to use it if you're using react

};

if (this.state.activeCardID) {
window.Trello.put(`/cards/${this.state.activeCardID}`, {name: `Craig Card ${this.state.activeCardID}`});

Choose a reason for hiding this comment

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

what is the reasoning behind accessing the DOM here?

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.

3 participants