MCPcopy Create free account
hub / github.com/GregBrimble/react-server-components-workshop

github.com/GregBrimble/react-server-components-workshop @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
33,816 symbols 102,768 edges 377 files 752 documented · 2% updated 2y ago★ 38

Browse by type

Functions 33,811 Types & classes 5
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Slides

Google Slides

Prerequisites

I recommend using a version manager like Volta, asdf or nvm.

  • Git

  • A code editor

I recommend Visual Studio Code.

Sign up and verify your email address.

Getting started

  1. Clone the workshop repository with Git:

    sh git clone https://github.com/GregBrimble/react-server-components-workshop.git

    Or if you prefer using SSH:

    sh git clone git@github.com:GregBrimble/react-server-components-workshop.git

  2. Open this folder in your favorite code editor. I recommend VSCode.

  3. Install the dependencies using npm:

    sh npm install

  4. Log in with Wrangler:

    sh npx wrangler login

  5. Populate the CLOUDFLARE_WORKERS_SUBDOMAIN value in ./constants.ts. You can find your subdomain in the sidebar of the Cloudflare Workers & Pages dashboard.

  6. Get started with the first exercise in ./exercises/1-client-side-rendering. Check out the README.md file for instructions!

Contents

  1. Client-side rendering
  2. Intro to Workers
  3. Server-side rendering
  4. RSC data loading
  5. RSC compiler
  6. Loading data from a database
  7. Smart Placement

What's next?

Thank you for participating in this React Server Components 2024 workshop! I hope you found it valuable and had fun. If you're interested in being notified when my next workshop will be available, please sign up here!

After you've completed this workshop, there is much more you can explore with React Server Components and the Cloudflare Developer Platform. Some other topics of interest may include:

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 33,804
Method 7
Class 4
Interface 1

Languages

TypeScript100%

Modules by API surface

react_nm/react-dom/cjs/react-dom-unstable_testing.development.js1,219 symbols
react_nm/react-dom/umd/react-dom.development.js1,190 symbols
react_nm/react-dom/cjs/react-dom.development.js1,190 symbols
react_nm/react-dom/cjs/react-dom.profiling.js1,021 symbols
react_nm/react-dom/cjs/react-dom-unstable_testing.production.js1,005 symbols
react_nm/react-dom/cjs/react-dom.production.js977 symbols
react_nm/react-reconciler/cjs/react-reconciler.development.js793 symbols
react_nm/react-art/umd/react-art.development.js788 symbols
react_nm/react-art/cjs/react-art.development.js750 symbols
react_nm/react-test-renderer/umd/react-test-renderer.development.js706 symbols
react_nm/react-test-renderer/cjs/react-test-renderer.development.js706 symbols
react_nm/react-reconciler/cjs/react-reconciler.profiling.js696 symbols

For agents

$ claude mcp add react-server-components-workshop \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page