XiNiHa / vilay

Vite SSR framework with support for React SSR streaming and Relay
https://vilay.xiniha.dev
MIT License
55 stars 4 forks source link

disable streaming for bot UAs by default, optionally disable streaming per page #30

Closed acao closed 2 years ago

acao commented 2 years ago
  1. would be good to disable streaming for bot user agents by default, but allow users to override this globally or per page if they want. We can achieve this without UA parsing of course
  2. it would be great to be able to optionally disable streaming per page, and/or configure other modes. the UMR spec has some ideas for this, each framework does it a different way
XiNiHa commented 2 years ago

AFAIK it's already implemented by using react-streaming. If it doesn't, it should be considered as a bug I guess

acao commented 2 years ago

ah of course, I should know, I learned about this pattern from the react-streaming source!