Variables
ALIAS_DESCRIPTION
ALIAS_DESCRIPTION: symbol = Symbol.for('alias_description')
ARRAY_SEPARATOR
ARRAY_SEPARATOR: "," = ","
ARRAY_TO_DOT_NOTATION_REGEX
ARRAY_TO_DOT_NOTATION_REGEX: RegExp = /\[(\d+)\]/g
CONFIGURABLE_KEY
CONFIGURABLE_KEY: "configurable" = "configurable"
CONSUMES_KEY
CONSUMES_KEY: "consumes" = "consumes"
CORE
CORE: symbol = Symbol.for('storfront_core_service')
DEFAULT_VARIANT_FIELD
DEFAULT_VARIANT_FIELD: "variants" = "variants"
ESCAPE_CHAR
ESCAPE_CHAR: "\" = "\"
GLOBALS
GLOBALS: object = (typeof global === 'undefined' ? window : global) || {}
LOG_PHASES
LOG_PHASES: string[] = [Phase.INITIALIZE,Phase.BEFORE_MOUNT,Phase.MOUNT,Phase.UPDATE,Phase.UPDATED,Phase.BEFORE_UNMOUNT,Phase.UNMOUNT,]
LOG_STYLE
LOG_STYLE: "font-weight: bold" = "font-weight: bold"
ORIGIN_KEY
ORIGIN_KEY: "origin" = "origin"
PAIR_SEPARATOR
PAIR_SEPARATOR: ":" = ":"
PROVIDES_KEY
PROVIDES_KEY: "provides" = "provides"
RANGE_SEPARATOR
RANGE_SEPARATOR: ".." = ".."
RE_RENDER_MESSAGE
RE_RENDER_MESSAGE: "%ctag is preparing to re-render:" = "%ctag is preparing to re-render:"
RIOT
RIOT: symbol = Symbol.for('storefront_riot_instance')
SEPARATORS
SEPARATORS: string[] = [RANGE_SEPARATOR, ARRAY_SEPARATOR, PAIR_SEPARATOR]
STOREFRONT_APP_ID
STOREFRONT_APP_ID: "GroupBy StoreFront" = "GroupBy StoreFront"
STYLISH_CLASS
STYLISH_CLASS: "gb-stylish" = "gb-stylish"
SUGAR_EVENTS
SUGAR_EVENTS: string[] = [Phase.BEFORE_MOUNT,Phase.MOUNT,Phase.UPDATE,Phase.UPDATED,Phase.BEFORE_UNMOUNT,Phase.UNMOUNT,]
TAGS
TAGS: symbol = Symbol.for('storefront_tags')
TAG_DESC
TAG_DESC: symbol = Symbol.for('tag_description')
TAG_META
TAG_META: symbol = Symbol.for('tag_metadata')
TRACKER_EVENT
TRACKER_EVENT: "tracker:send_event" = "tracker:send_event"
UI_CLASS
UI_CLASS: "gb-ui" = "gb-ui"
The type of the
shouldUpdate
function. This function is used to determine if a component should perform an update.An object with a property called
state
that contains the component's state.An object that contains the component's props.
true
if the component should update,false
otherwise.