markRaw
Keep a value out of store wrapping: every store serves it as is. Pass a class to keep all instances of it and its subclasses raw.
Import
import { markRaw } from "solid-js";Type signature
function markRaw<T>(value: T): T;Parameters
value
- Type:
T