Skip to content

maxshirshin/vite-streaming-ssr-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite: React 18 Streaming SSR

This is a code example which demonstrates building a React 18 (alpha) application with Vite and streaming a SSR response to both Node.js and Workers runtimes.

It is meant to be a Vite version of the official React 18 Streaming SSR example, only modified to support Vite and its way of detecting and bundling assets.

Development

yarn

Run the Vite dev server (Node.js runtime):

yarn dev

Run the Miniflare dev server (Workers runtime):

yarn build && yarn workers

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.7%
  • CSS 9.8%
  • HTML 4.5%