Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/docs/v3/data/signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const doubleCount = new Signal.Computed(() => count.get() * 2);
const watcher = new Signal.subtle.Watcher(async () => {
// Notify callbacks are not allowed to access signals synchronously
await 0;
console.log('doubleCount is', doubleCount);
console.log('doubleCount is', doubleCount.get());
// Watchers have to be re-enabled after they run:
watcher.watch();
});
Expand Down