Skip to content

Commit

Permalink
fixed vercel error
Browse files Browse the repository at this point in the history
  • Loading branch information
overthemike committed Dec 16, 2024
1 parent 5f636e2 commit bce8de3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/api/basic/useSnapshot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ In dev mode, `useSnapshot` uses React's `useDebugValue` to output a list of fiel

1. Due to the way `useSnapshot` uses a proxy to recorded accesses _after_ `useSnapshot` has returned, the fields listed in `useDebugValue` are technically from the _previous_ render.
2. Object getter and class getter calls are not included in the `useDebugValue` output, but don't worry, they are actually correctly tracked internally and correctly trigger re-renders when changed.
</blockquote>

</blockquote>

<br />

Expand Down

0 comments on commit bce8de3

Please sign in to comment.