Skip to content

Type Alias: SetStateAction\<T\>

@roomful/solid


@roomful/solid / SetStateAction

SetStateAction<T> = T | (previous) => T

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

Mirrors React-style updater semantics for the Solid shared-state setter.

T

The shared state value type.