Class Slice<TState>
A Slice is a collection of reducers and actions for a specific domain. It is a convenient way to bundle them together for use in a Redux store.
Inherited Members
Namespace: Unity.AppUI.Redux
Assembly: solution.dll
Syntax
public sealed class Slice<TState> : Slice
Type Parameters
Name | Description |
---|---|
TState | The type of the state associated with this slice. |
Properties
initialState
The initial state for this slice.
Declaration
public TState initialState { get; }
Property Value
Type | Description |
---|---|
TState |