From the course: Building Modern Projects with React

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Challenge: Using Thunks to update server resources

Challenge: Using Thunks to update server resources - React.js Tutorial

From the course: Building Modern Projects with React

Challenge: Using Thunks to update server resources

(bright electronic music) - [Instructor] All right, well, at this point we've created thunks for creating to-dos, deleting to-dos, and loading to-dos, so the last one that you're going to have to do here is this markTodoAsCompleted action, which you're going to turn into a thunk, and that is going to be your challenge here. So, this challenge should take maybe about five to 10 minutes to complete, and once you've given it a try, you can feel free to move on to the next video where I'll walk you through how I solve the challenge, so best of luck and I'll see you in the Solution Video.

Contents