Skip to content

f

Exercises: extending the watchlist

In addition to the eight exercises in the React router and custom hooks sections of this seventh part of the course material, 13 exercises continue our work on the Watchlist application that we worked on in parts four and five of the course material. Some of the following exercises are "features" that are independent of one another, meaning that there is no need to finish the exercises in any particular order. You are free to skip over a part of the exercises if you wish to do so. A few of these exercises are applying some of the advanced state management techniques from Redux, React Query and Context covered in part 6.

If you you need help with your original Watchlist application, you can reach out to me so that we can help you move forward and to establish a starting point for these exercises.

Many of the exercises in this part of the course material will require the refactoring of existing code. This is a common reality of extending existing applications, meaning that refactoring is an important and necessary skill even if it may feel difficult and unpleasant at times.

One good piece of advice for both refactoring and writing new code is to take baby steps. Panic is almost guaranteed if you leave the application in a completely broken state for long periods while refactoring.