I'm not sure how complex an SSE (Server Sent Events) example should be. But since the actual SSE part on the backend is super simple we could combine it with a toast component to make it more "real world". SSE and websockets are also great to demonstrate custom stores.
- use a
+server.js route to return a ReadableStream response for the SSE connection
- use a custom store to listen for any incoming messages/events
- include a minimal but complete toast component to display the messages