Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce6583e

Browse files
committed
Merge branch 'main' of github.com:mfbx9da4/observable-state-tree into main
2 parents51601e4 +ef06bfe commitce6583e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ console.log(tree)
2626
// prints the object 👉 { a: { b: { c : 1, d: 1 } } }
2727

2828
// we can setup listeners
29-
constdestroyRoot=listen(root, (root)=>console.log('root', root))
29+
constdestroyRoot=listen(tree, (root)=>console.log('root', root))
3030
// on initial setup prints the full tree 👉 root { a: { b: { c: 1, d: 1 } } }
3131
constdestroyA=listen(tree.a, (a)=>console.log('a', a))
3232
// 👉 a { b: { c: 1 } }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp