Questions

Have a go at the following questions to test what you have learned in this chapter:

  1. What class does an API controller need to inherit from in order for invalid models to automatically return HTTP status code 400?
  2. What option from create-react-app did we use to create a React with TypeScript project?
  3. What ESLint rule could we use to help prevent console.log statements being added to our code?
  4. What setting in .prettierrc could we set to use single quotes in our code? 
  5. What file can we use to tell Visual Studio Code to validate TypeScript code using ESLint and to automatically format code using Prettier?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.219.179.192