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(): void

Returns

void


isStaleChunkError()

isStaleChunkError(error): boolean

Parameters

error

unknown

Returns

boolean