Manta Developers
GitHub
Menu

@manta-eu/react/lib/update-notice

Reference for @manta-eu/react/lib/update-notice as it is on main.

Type Aliases

Channel

Channel = "none" | "toast" | "screen"

Functions

announceUpdate()

announceUpdate(channel): void

Parameters

channel

"toast" | "screen"

Returns

void


installUpdateNotice()

installUpdateNotice(name?): void

Parameters

name?

string = defaultAppName

Returns

void


isStaleChunkError()

isStaleChunkError(error): boolean

Parameters

error

unknown

Returns

boolean


updateNoticeAppName()

updateNoticeAppName(): string

Returns

string