SSE updates ? #975
Unanswered
joeblew999
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
thank you so much for this project . It’s a breathe of fresh air in simplicity!
I was wondering if anyone had any interest is supporting SSE updates using Datastar?
It’s kind of neat because then when the DB changes, all webviews are updated . So it’s a reactive system.
You can find the info here if your interested :
https://github.com/starfederation/datastar
Since you need a rust version , the SDK is here : https://github.com/starfederation/datastar-rust
there is a JS SDK one here though : https://github.com/starfederation/datastar-typescript
there are also other ones for other languages .
You do not need anything else to use it .
It just needs a single js include in the web page and your cooking :)
here is a simple example : https://github.com/starfederation/datastar-rust/tree/main/examples
Beta Was this translation helpful? Give feedback.
All reactions