netlify/remix-compute

Add renderToReadableStream example

Closed this issue · 3 comments

Would be nice to see the example using React 18's renderToReadableStream which is for Deno/Cloudflare/Edge environments

Thanks for the feedback @wesbos!

The packages in this repository are being used in netlify/remix-template#83. I'll update the README here once that work is merged.

We were using the renderToReadableStream but replaced it in that PR. I think it's because the template is for a Node environment as well and edge environment and because of facebook/react#24226.

We use remix.init to provide the template for Netlify Functions and Edge Functions, so I'm going to test out renderToReadableStream over there again for edge.

AH gotcha. Working on it myself over here if anyone wants to reference. Not working yet though wesbos/awesome-uses#1534

Going to go ahead and close this. Thanks for the repo share with an example Wes!