MCPcopy
hub / github.com/epicweb-dev/react-performance

github.com/epicweb-dev/react-performance @main sqlite

repository ↗ · DeepWiki ↗
246 symbols 772 edges 249 files 1 documented · 0%
README

React Performance 🚀

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.

<a alt="Epic Web logo with the words Deployed Version" href="https://performance.epicreact.dev"

<img
  width="300px"
  src="https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/254000390-447a3559-e7b9-4918-947a-1b326d239771.png"
/>


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

Use the Epic Workshop CLI to get this setup:

```sh nonumber npx --yes epicshop@latest add react-performance


If you experience errors here, please open [an issue][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

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
shared/get-component-calls.tsx

Core symbols most depended-on inside this repo

getComponentCalls
called by 26
shared/get-component-calls.tsx
here
called by 7
epicshop/fix.js
exists
called by 5
epicshop/fix.js
readDir
called by 4
epicshop/fix.js
handleCheck
called by 3
exercises/03.concurrent-rendering/01.problem.deferred/form.tsx
handleCheck
called by 3
exercises/03.concurrent-rendering/01.solution.deferred/form.tsx
run
called by 2
epicshop/fix-watch.js
printTestSummary
called by 2
epicshop/test.js

Shape

Function 245
Interface 1

Languages

TypeScript100%

Modules by API surface

shared/get-component-calls.tsx9 symbols
epicshop/fix.js8 symbols
exercises/02.context/03.solution.split-context/index.tsx6 symbols
exercises/02.context/03.problem.split-context/index.tsx6 symbols
exercises/02.context/02.solution.provider-component/index.tsx6 symbols
exercises/03.concurrent-rendering/01.solution.deferred/tooltip.tsx5 symbols
exercises/03.concurrent-rendering/01.problem.deferred/tooltip.tsx5 symbols
exercises/02.context/02.problem.provider-component/index.tsx5 symbols
exercises/02.context/01.solution.memo-context/index.tsx5 symbols
exercises/02.context/01.problem.memo-context/index.tsx5 symbols
exercises/01.elements/05.problem.memo/index.tsx5 symbols
exercises/01.elements/04.solution.use-memo/index.tsx5 symbols

Dependencies from manifests, versioned

@epic-web/config1.21.3 · 1×
@epic-web/workshop-app6.90.11 · 1×
@epic-web/workshop-utils6.90.11 · 1×
@playwright/test1.47.2 · 1×
@tanstack/react-virtual3.1.2 · 1×
@types/d3-geo3.1.0 · 1×
@types/node20.9.1 · 1×
@types/react19.1.12 · 1×
@types/react-dom19.1.8 · 1×
@types/topojson-client3.1.4 · 1×
@use-gesture/react10.3.0 · 1×
@vitejs/plugin-react4.0.3 · 1×

For agents

$ claude mcp add react-performance \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact