Description
This module contains tools to easily allow developers to develop realtime websocket based features in Nuxt.
The main feature is the useRealtimeState composable which should be very familiar to Nuxt devs because it's implemented as easily as a normal useState.
example:
// This is a value that is synced across all users
const counter = useRealtimeState('counter', 0)
It's in early stages but I'd like to list it to get community feedback to enable more focused development on what users actually need.
Repository
https://github.com/daanvangeloven/nuxt-realtime
npm
https://www.npmjs.com/package/nuxt-realtime
Nuxt Compatibility
Nuxt 4
Description
This module contains tools to easily allow developers to develop realtime websocket based features in Nuxt.
The main feature is the
useRealtimeStatecomposable which should be very familiar to Nuxt devs because it's implemented as easily as a normaluseState.example:
It's in early stages but I'd like to list it to get community feedback to enable more focused development on what users actually need.
Repository
https://github.com/daanvangeloven/nuxt-realtime
npm
https://www.npmjs.com/package/nuxt-realtime
Nuxt Compatibility
Nuxt 4