THIS IS ARCHIVED DOCUMENTATION

(Deprecated) RecommendationActions

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

Returns PayloadAction<SetRecommendationIdActionCreatorPayload>: A dispatchable action.

SetRecommendationIdActionCreatorPayload

Properties

  • id: string

    The recommendation identifier.