THIS IS ARCHIVED DOCUMENTATION

(Deprecated) RedirectionActions

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

Returns AsyncThunkAction<string, CheckForRedirectionActionCreatorPayload, AsyncThunkSearchOptions<RedirectionState$1>>: A dispatchable action.

CheckForRedirectionActionCreatorPayload

Properties

  • defaultRedirectionUrl: string

    The default URL to redirect the user to.