onboarding-initialization
v1.1.55
Published
common functionality for all onboarding
Downloads
119
Readme
onboarding-init
Hook useLandingType
for splitting traffic on client side.
useLandingType(landingParam, landingTypesList) -> { landingType, paywallType }
Installation
npm i onboarding-initialization
Usage
import { useLandingType } from 'onboarding-init';
const { landingType, paywallType } = useLandingType(landingParam);