mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-08 08:39:58 -04:00
39abb1a43b
Per Joshua: the note about `Math.random()` in the reducer context docs is out of date and incorrect. TypeScript modules should use `ctx.random` instead. **Changes:** - Remove `Math.random()` from the warning about non-deterministic RNGs (it was listed alongside C#'s `Random` as something to avoid) - Replace the incorrect `:::note` block with a proper table row documenting `ctx.random` in the TypeScript context properties reference - Same fixes applied to versioned docs (v1.12.0) Co-authored-by: clockwork-labs-bot <clockwork-labs-bot@users.noreply.github.com>