MCPcopy Index your code
hub / github.com/epicweb-dev/react-suspense

github.com/epicweb-dev/react-suspense @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
429 symbols 918 edges 129 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🔀 React Suspense

Simplify your Async UI and improve your User Experience

Learn how Suspense works under the hood, preparing you for the future of asynchronous state management.

<a alt="Epic Web logo with the words Deployed Version" href="https://suspense.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 most 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-suspense


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

CSSProperties (Interface)
(no doc)
shared/reset.d.ts

Core symbols most depended-on inside this repo

use
called by 43
exercises/01.fetching/05.problem.use/index.tsx
searchShips
called by 34
shared/ship-api-utils.server.ts
getShip
called by 34
shared/ship-api-utils.server.ts
here
called by 7
epicshop/fix.js
createShip
called by 6
shared/ship-api-utils.server.ts
readDir
called by 4
epicshop/fix.js
exists
called by 3
epicshop/fix.js
getDelay
called by 3
shared/ship-api-utils.server.ts

Shape

Function 428
Interface 1

Languages

TypeScript100%

Modules by API surface

exercises/03.optimistic/03.solution.message/index.tsx11 symbols
exercises/03.optimistic/03.problem.message/index.tsx11 symbols
exercises/03.optimistic/02.solution.form-status/index.tsx11 symbols
exercises/03.optimistic/02.problem.form-status/index.tsx10 symbols
exercises/03.optimistic/01.solution.optimistic/index.tsx10 symbols
exercises/03.optimistic/01.problem.optimistic/index.tsx10 symbols
exercises/06.optimization/02.solution.cache/index.tsx9 symbols
exercises/06.optimization/02.problem.cache/index.tsx9 symbols
exercises/06.optimization/01.solution.parallel/index.tsx9 symbols
exercises/06.optimization/01.problem.parallel/index.tsx9 symbols
exercises/05.responsive/01.solution.deferred/index.tsx9 symbols
exercises/05.responsive/01.problem.deferred/index.tsx9 symbols

For agents

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

⬇ download graph artifact