tss-react icon indicating copy to clipboard operation
tss-react copied to clipboard

Compatibility with streaming APIs.

Open garronej opened this issue 1 year ago • 2 comments

Hello @andarist,

I'm very sorry to bother you but I have this burning question I wanted to ask you for weeks.

Is there a world where tss-react is compatible with the streaming APIs?

This module is a wrapper around @emotion/react that provide a hook-based API. See your quote.

As of today, the only way to make tss-react work with SSR is to implement the advanced approach and this approach doesn’t work with the steaming APIs.

image

I don't care how hard it is to set up, I'm willing to provide and maintain a specific SSR utility on a per framework basis just like I currently do for Next.js.

But is it or will it ever be feasible to support streaming?

Thank you very much for taking a look at this.

PS: Despite the little number of stars, this module is actually used. Mostly by peoples using it to migrate from MUIv4 to MUIv5 without having to refactor the whole codebase.
image

garronej avatar Oct 27 '22 18:10 garronej