More than 100 examples for React.
Install dependencies first:
- Open command line (Windows) or terminal (macOS) in the root folder
- Run
npm install
- Open de root folder in Visual Studio Code.
- Open a file from and example.
- On Windows press
ctrl + shift + band on macOS presscmd + shift + bto open the web server and the browser in that folder. - When done, close the web server: On Windows
ctrl + shift + pand on macOscmd + shift + p, in both cases followed by choosingTerminate Task.
- Run
npm run devornpm run dev -- --open(to also open the browser). Server path will be written in the console.
European Union Public Licence version 1.2
Copyright © 2014-2026 Rick Beerendonk