provideSmartFeatureEntities
This provides all the NgRX parts for a given feature and entity
Note: the generic parameters are implied so they are not documented here.
Usage:
providers: [
...
provideEntities('someFeature', entityDefinitions),
...
],See Also
EntityDefinition
Presentation
function provideSmartFeatureEntities (
featureName: string,
entityDefinitions: SmartEntityDefinition <SmartNgRXRowBase >[],
): EnvironmentProviders;Returns
EnvironmentProviders -EnvironmentProviders that will get used to provide the NgRX reducer and effect for this slice.
Parameters
| Name | Type | Description |
|---|---|---|
| featureName | string | This is the name you would use for forFeature() |
| entityDefinitions | | An array of entity definitions. |