Step 4
There are several different ways to create a React application. Consult the documentation here.
We are going to use NPM's package runner, NPX, for scaffolding our React app using the create-react-app package.
npx create-react-app dictionary-react-app --use-npm
The
create-react-app
is a command-line build tool (similar to Vite) that scaffolds a React application.
Change directory to dictionary-react-app
. Then, run the application:
npm run start
Point your browser to http://localhost:3000/.