Advanced / Store Advanced

deep

Subscribes the surrounding scope to every reachable level of a store value, then returns its plain view. Use it when any change anywhere in the subtree should re-run the computation.


Import

import { deep } from "solid-js";

Type signature

function deep<T>(value: T): T;

Parameters

value

  • Type: T

Learn more

Last updated: 11/17/26, 9:13 AMEdit this pageReport an issue with this page