Laravel package to provide Server Sent Events functionality for your app. You can use this package to show instant notifications to your users without them having to refresh their pages.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (4)
Will this work with a Nuxt.js Frontend talking to Laravel APIs?
Though I haven't worked with Nuxt.js but general idea is that package returns "message" event which you can hook into. For example, here is vanilla JS that can be used:
`
I assume you can do something similar with Nuxt.JS too to capture "message" event and react to it.
Thank you! I'll give this a go when I find the time.
Can i use this with react?