kmoskwiak / useSSE

use Server-Side Effect ✨in React SSR app
https://kspr.dev/use-sse/
MIT License
138 stars 10 forks source link

Support for React 18 #35

Open kmoskwiak opened 1 year ago

kmoskwiak commented 1 year ago

Support new React 18 features:

WilliamWhispell commented 1 year ago

I tried this with hydrateRoot, it keeps executing the useSSR body over and over again on the client side. Then I found this issue :)

Is this something you are working on? I will look at code, but note sure if I can help much