Skip to content

Fullstack-Workshops/Checkpoint-React-v2

Repository files navigation

React Homework

Getting Started

  1. Fork this repo
  2. Install dependencies: npm install
  3. Run the tests: npm test
  4. Run it locally: npm start

Your goal here is to make all the tests pass. The tests are organized in tiers. You are advised to work through these tiers in order (tests/tier-1 followed by tests/tier-2.js, etc).

The only code you need to write is in the src/components folder. You are free to edit those files as much as you need to to get the tests to pass (e.g. by converting a functional component to a class component). Please do not modify the tests except to make them run or pend (e.g. xit, it.only, describe.only). Each tier has instructions and hints at the top. Please read the hints carefully before beginning the tests. They are there to help you!

You know what else is there to help you? The React Dev Tools!

As you work through the tests, you are encouraged to view the running React application in your browser, especially because you will be able to leverage the awesome power of the React Dev Tools. If you'd like to see how your React application responds to server errors, take a look at app.js -- you will find code in the comments to simulate a server that takes a long time to respond, or simply responds with an error.

You can view the React application in the browser at localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •