Skip to content

Commit 74e79bd

Browse files
authored
update start command to 'npm run dev'
In this commit, I've modified the start command in the project to transition from 'npm start' to 'npm run dev.' This change is to reflect the courses transition from Create React App to Vite as the underlying development tool.
1 parent 3527faa commit 74e79bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/2/en/part2c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ The configuration for the whole application has steadily grown more complex. Let
519519

520520
![diagram of composition of react app](../../images/2/18e.png)
521521

522-
The JavaScript code making up our React application is run in the browser. The browser gets the JavaScript from the <i>React dev server</i>, which is the application that runs after running the command <em>npm start</em>. The dev-server transforms the JavaScript into a format understood by the browser. Among other things, it stitches together JavaScript from different files into one file. We'll discuss the dev-server in more detail in part 7 of the course.
522+
The JavaScript code making up our React application is run in the browser. The browser gets the JavaScript from the <i>React dev server</i>, which is the application that runs after running the command <em>npm run dev</em>. The dev-server transforms the JavaScript into a format understood by the browser. Among other things, it stitches together JavaScript from different files into one file. We'll discuss the dev-server in more detail in part 7 of the course.
523523

524524
The React application running in the browser fetches the JSON formatted data from <i>json-server</i> running on port 3001 on the machine. The server we query the data from - <i>json-server</i> - gets its data from the file <i>db.json</i>.
525525

0 commit comments

Comments
 (0)