Knowledge check: Setting up the project

Knowledge check: Setting up the project

  1. Which of the following command allows you to quickly create a React project?

    • npx create-react-app

    • npx create-react-app app-name

    • npm build

    • npm test

  2. Before pushing your changes to a Git repository, you need to commit the changes first.

    • True

    • False

  3. Which of the following commands sends the local change to a remote git repository like GitHub?

    • git commit

    • git tag

    • git fetch

    • git push

  4. What is the purpose of using this ES7+ React/Redux/GraphQL/React-Native extension in VS Code?

    • It helps to convert your code for older JavaScript engines

    • It provides quick JavaScript snippets to help you code faster in your React and GraphQL-based projects.

    • It helps you to debug the React and GraphQL-based projects.

  5. In a project, which directory contains all the dependencies?

    • src

    • node_modules

    • build