Skip to main content

Function: withDevtools()

withDevtools(name, ...features): SignalStoreFeature<EmptyFeatureResult, EmptyFeatureResult>

Defined in: libs/ngrx-toolkit/src/lib/devtools/with-devtools.ts:44

Adds this store as a feature state to the Redux DevTools.

By default, the action name is 'Store Update'. You can change that via the updateState method, which has as second parameter the action name.

The standalone function renameDevtoolsName can rename the store name.

Parameters

name

string

name of the store as it should appear in the DevTools

features

...DevtoolsFeature[]

features to extend or modify the behavior of the Devtools

Returns

SignalStoreFeature<EmptyFeatureResult, EmptyFeatureResult>