LocationProvider
LocationProviders inherits LocationStack from their parent LocationProviders and use it to enrich their own.
LocationProvider = (props: {
children: ReactNode | ((parameters: LocationProviderContext) => void),
locationStack: LocationStack
}) => Context.Provider
caution
This is a lower-level Component used internally to share LocationStacks across Location based Components.
For tracking purposes, see instead ObjectivProvider and TrackingContextProvider.
Parameters
type | default value | ||
---|---|---|---|
required | children | ReactNode | ((parameters: LocationProviderContext) => void) | |
required | locationStack | LocationStack |
Returns
Context.Provider