THIS IS ARCHIVED DOCUMENTATION
(Deprecated) RecommendationActions
(Deprecated) RecommendationActions
In this article
In this article
The recommendation action creators.
Loader Function
loadRecommendationActions
Parameters
-
engine:
The headless engine.
Returns RecommendationActionCreators
: The recommendation action creators.
RecommendationActionCreators
getRecommendations
Refreshes the recommendations.
Returns AsyncThunkAction<GetRecommendationsThunkReturn, void, AsyncThunkSearchOptions<StateNeededByGetRecommendations>>
: A dispatchable action.
setRecommendationId
Updates the recommendation identifier.
Parameters
-
payload:
SetRecommendationIdActionCreatorPayload
The action creator payload.
Returns PayloadAction<SetRecommendationIdActionCreatorPayload>
: A dispatchable action.
Related Types
SetRecommendationIdActionCreatorPayload
Properties
-
id:
string
The recommendation identifier.