Advanced / Store Advanced

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

Learn more

Last updated: 11/19/26, 8:12 AMEdit this pageReport an issue with this page