Is Vite fast? Is React Slow? I will show command line options to create a Vite app and a React app using CRA, then I use VS Code to do further testing, compare speed of Vite vs React tooling. I find Vite to be pretty fast.
I show you how I setup my software environment to run these comparisons.
I also show the use of the npm eject command and how many changes are tracked by the git commit.
I hope you find something useful in this new Video. Thanks for watching and subscribing!!! I appreciate it.
LINKS
------------------------------------
https://nodejs.org/en NODE JS
https://code.visualstudio.com/download VSCODE
https://github.com/coreybutler/nvm-wi... NVM FOR WINDOWS
https://create-react-app.dev/ CRA - Create React App
https://www.npmjs.com/package/serve NPM SERVE PACKAGE
VIDEO TIMECODES
--------------------------------------------
0:00 Intro
2:00 Computer Environment Setup
5:33 What is Vite or SWC?
7:00 Create React App - CRA
9:35 Start up the React app, its slooow
12:30 Create Vite App, its fast!
15:30 Open up CS CODE editor
19:26 npm run build Vite app, fast
21:12 npm run preview for Vite app, fast!
22:36 Quick to make changes
23:45 The React app slowness
24:30 Ask ChatGPT about eject command
28:17 run npm start - slower
30:00 Slow to make updates to React app?
33:20 Run the npm run eject - cool stuff
35:17 Results of using the eject command