THIS IS ARCHIVED DOCUMENTATION
(Deprecated) RedirectionActions
(Deprecated) RedirectionActions
In this article
In this article
The redirection action creators.
Loader Function
loadRedirectionActions
Parameters
-
engine:
The headless engine.
Returns RedirectionActionCreators
: The redirection action creators.
RedirectionActionCreators
checkForRedirection
Preprocesses the query for the current headless state, and updates the redirection URL if a redirect trigger was fired in the query pipeline.
Parameters
-
payload:
CheckForRedirectionActionCreatorPayload
The action creator payload.
Returns AsyncThunkAction<string, CheckForRedirectionActionCreatorPayload, AsyncThunkSearchOptions<RedirectionState$1>>
: A dispatchable action.
Related Types
CheckForRedirectionActionCreatorPayload
Properties
-
defaultRedirectionUrl:
string
The default URL to redirect the user to.