brillout / react-streaming

React Streaming. Full-fledged & Easy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example using just Vite

rjvim opened this issue · comments

I am trying to explore this plugin and finding it little difficult to make it work.

I have already make this plugin work with vike, and as there are many examples for this.

This is a working example of Vite + React Streaming + SSR (using renderToPipeableStream)

I am trying to use react-streaming instead of renderToPipeableStream, but it's not clear how to pass bootstrapModules, or is it not needed when we use react-streaming? Does this plugin work with only vike?

Is there an example with just vite?

commented

It should work just fine without Vike; try with https://github.com/bluwy/create-vite-extra.

Contribution welcome to improve the docs and add examples. In the interim, dig and/or read the source code which is fairly small.