From 9f7047d4846c35069d70400e95ee59bed0b23549 Mon Sep 17 00:00:00 2001 From: littensy <56808540+littensy@users.noreply.github.com> Date: Sun, 22 Mar 2026 13:09:29 -0700 Subject: [PATCH] docs: note peek in migration guide --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4945d65..71d5318 100644 --- a/README.md +++ b/README.md @@ -963,6 +963,7 @@ For reference, a signal is a state container with a separated getter and setter **What to look out for:** 1. Address all of the type errors introduced in your project after updating Charm. Most of them are caused by changes like: + - `peek()` was changed to `untracked()` for parity with other state managers - The second arguments of `atom()` changed from an `options` table to an equality function - Removed the second argument of `computed()` (you can do your own equality checks since the computed callback now receives the previous value) - Removed the cleanup argument in effect callbacks (`effect(function(cleanup) end)`)