Skip to content

Type Alias: SharedStateSetter()\<T\>

@roomful/solid


@roomful/solid / SharedStateSetter

SharedStateSetter<T> = (nextValue) => T

Defined in: solid/src/index.ts:84

Updates a shared state binding and returns the resolved value.

T

The shared state value type.

SetStateAction<T>

The next value or an updater derived from the previous value.

T

The resolved shared state value.