In front-end web development there are 2 key performance indicators, amongst others:
- Fast and smooth: are animations and updates fast enough while the user interacts? Render perf.
- Time to interact: how long does it take until your website loads and is interactive? Load perf.
React is a framework that provides tools and functionalities for optimizing both. This workshop has one part for each topic:
Both topics are unrelated and independent so they can be done in any order.
This is not a workshop for beginners but also not exclusive to experts either. Hopefully, after this workshop, you'll be introduced to some intermediate knowledge.
Ready to start? Let's go!
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Builds the app for production to the build
folder with profiling capabilities and serves it on http://localhost:5000.
Your app is ready to be profiled with React Dev Tools!