Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Node.js and npm | Getting Started: ES6
Introduction to React
course content

Kursinhalt

Introduction to React

Introduction to React

1. Getting Started: ES6
2. Getting Started: JSX
3. React in Practice
4. React Components
5. Controlling Data & Content
6. Hooks
7. React Router

book
Node.js and npm

Node.js is a runtime environment that enables us to run the JavaScript code outside of the browser, making it a very powerful and useful tool for developing various applications.

npm is a repository of Node.js packages and also a command-line utility for accessing and managing those packages. Using npm we can easily initiate a new Node.js project and import any desired project from the library of available projects.

To use Node.js:

  • Install it from the official website(npm included);

  • Open the command prompt and type in node --version to check if node is correctly installed (if Node's version is displayed, everything installed correctly);

Pict

There are some useful commands:

  • Initiating a new node: npm init;

  • Installing new packages: npm install <package name>;

  • Running a node script: node <script name>.

With the help of Node we can set up a React project and test it conveniently using a package called create-react-app provided by Facebook, that includes all the required tools. We will explore more about it in a later section.

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2

Fragen Sie AI

expand
ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

course content

Kursinhalt

Introduction to React

Introduction to React

1. Getting Started: ES6
2. Getting Started: JSX
3. React in Practice
4. React Components
5. Controlling Data & Content
6. Hooks
7. React Router

book
Node.js and npm

Node.js is a runtime environment that enables us to run the JavaScript code outside of the browser, making it a very powerful and useful tool for developing various applications.

npm is a repository of Node.js packages and also a command-line utility for accessing and managing those packages. Using npm we can easily initiate a new Node.js project and import any desired project from the library of available projects.

To use Node.js:

  • Install it from the official website(npm included);

  • Open the command prompt and type in node --version to check if node is correctly installed (if Node's version is displayed, everything installed correctly);

Pict

There are some useful commands:

  • Initiating a new node: npm init;

  • Installing new packages: npm install <package name>;

  • Running a node script: node <script name>.

With the help of Node we can set up a React project and test it conveniently using a package called create-react-app provided by Facebook, that includes all the required tools. We will explore more about it in a later section.

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
Wir sind enttäuscht, dass etwas schief gelaufen ist. Was ist passiert?
some-alt