Skip to content

epicweb-dev/react-performance

Repository files navigation

React is fast, until it isn't. Let's make your React app fast.

Learn everything you need to diagnose, profile, and fix performance problems in your React application using the Browser Performance Profiler, React DevTools Profiler, and proven React optimization techniques.



Build Status GPL 3.0 License Code of Conduct

Prerequisites

  • Install the React DevTools (Chrome (recommended), Firefox)
  • Experience with React and all hooks

Pre-workshop Resources

Here are some resources you can read before taking the workshop to get you up to speed on some of the tools and concepts we'll be covering:

System Requirements

  • git v2.18 or greater
  • NodeJS v20 or greater
  • npm v8 or greater

All of these must be available in your PATH. To verify things are set up properly, you can run this:

git --version
node --version
npm --version

If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.

Setup

This is a pretty large project (it's actually many apps in one) so it can take several minutes to get everything set up the first time. Please have a strong network connection before running the setup and grab a snack.

Follow these steps to get this set up:

git clone --depth 1 https://github.com/epicweb-dev/react-performance.git
cd react-performance
npm run setup

If you experience errors here, please open an issue with as many details as you can offer.

Starting the app

Once you have the setup finished, you can start the app with:

npm start

The Workshop App

Learn all about the workshop app on the Epic Web Getting Started Guide.

Kent with the workshop app in the background