HmrState

interface HmrState : JsAny(source)

Helper interface for Hot Module Replacement (HMR).

Properties

Link copied to clipboard
abstract var appState: String?

Functions

Link copied to clipboard
fun JsAny.jsGet(key: String): JsAny?

Function to get property from JS Object

Link copied to clipboard
fun JsAny.jsSet(key: String, value: JsAny)

Function to set property on JS Object

Link copied to clipboard
expect inline fun <T : JsAny> JsAny.unsafeCast(): T

Utility extension function for unsafe casting. Uses unsafeCast() on JS and WasmJs.

actual inline fun <T : JsAny> JsAny.unsafeCast(): T