Skip to content

@drawerly/react / Unsubscribe

Unsubscribe()

ts
type Unsubscribe = () => void;

Function that unsubscribes a state listener.

Returns

void

Released under the MIT License.