Test app for learning about fast-ssr.
$ yarn # install deps
$ yarn build # build code
$ yarn server # serve site
Navigate to http://localhost:3000/fast-ssr.html to view the site.
These pages are available:
- http://localhost:3000/fast-ssr.html: a simple SSR scenario
- http://localhost:3000/fast-ssr-stream.html: a simple SSR scenario that is streamed to the client
- http://localhost:3000/fast-ssr-stream-container.html: nested custom elements that are streamed to the client
Use the sleepTime
query param with the streaming examples to control the speed of the stream. Defaults to 1000
(ms). Ex: ?sleepTime=1
to set the delay to 1ms.
To disable patches, remove the postinstall
script in package.json
then follow the setup again.