Skip to content

parcel-bundler/rsc-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parcel React Server Components Examples

React Server Components are a new type of Component that renders ahead of time, before bundling, in an environment separate from your client app or SSR server. This repo is a set of examples of various ways to use RSC with Parcel. Check out the docs for more info.

There are currently three primary examples. See the linked READMEs for a full descriptions:

  1. Server Driven – A server driven todo list app where routing happens server side. Demonstrates composing server and client components, SSR and hydration, server actions with client JS and HTML forms, and a simple client side router.
  2. Static – A simple static site generator that runs server components at build time and outputs static HTML.
  3. Client Driven – Demonstrates how to integrate RSCs into an existing client-rendered app, without changing the entrypoint.

In addition, there are examples showing how to use alternative runtimes.

About

Parcel React Server Components Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published