Skip to content

useWaldiezHistory

@waldiez/react v0.4.8


useWaldiezHistory\<T>(selector): T

Defined in: src/waldiez/store/context.ts:35

A custom hook to access the Waldiez history store. This hook uses the context to retrieve the temporal state and allows for state selection.

Type ParametersΒΆ

TΒΆ

T

ParametersΒΆ

selectorΒΆ

(state) => T

ReturnsΒΆ

T

The selected temporal state from the Waldiez store.