Function: plain()
ts
function plain<T>(value): T;Defined in: server/tracked.ts:44
The object itself behind something read from this.state inside a hook, for the few things a proxy cannot stand in for: structuredClone, or comparing with === against an object that did not come from the state. Read from it; a change made through it is not tracked, so it is neither sent nor undone with the hook.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
value | T |
Returns
T