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: 9/10/26, 10:47 PMEdit this pageReport an issue with this page