Explain Your League Client

Your client is finished. The three exercises graded each piece, and in your Riverside project the league’s three old scripts now import their types and request functions from league/client.ts. The tests showed that your code returns the right values. They can’t show whether you can say why it’s built the way it is or what happens when the league’s data changes.

In this review, you’ll explain your client to the mentor, the way you’d walk a teammate through it in a pull request.

You’ll sort out which parts of the client are still there when Node.js runs it and which are gone, and you’ll defend two choices in it. Then you’ll make an unfamiliar change to the Team type and follow npm run check to every place the change affects. Start by making sure your project is in the state the review expects.

Get Your Project Ready

The review works from the project you built in the project lesson’s ungraded steps, so check that those steps are done. In a terminal opened in your riverside-league folder, run this search for copied types and old getJson() helpers:

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.