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

Commitd5d0720

Browse files
committed
Merge branch 'main' of github.com:mfbx9da4/observable-state-tree into main
2 parentscbf97c0 +1e6a304 commitd5d0720

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Observable state tree
22

3-
##Problem statement
3+
###Problem statement
44

55
Create an observable state tree.
66

@@ -17,9 +17,9 @@ Examples of the above requirements are given below.
1717

1818
Performance requirements:
1919

20-
- Modifying the tree shouldhappen in O(1) time
20+
- Modifying thestatetree shouldnot evaluate all listeners. It should only evalutate the subset of listeners which are relevant define above.
2121

22-
##Suggested API
22+
###Suggested API
2323

2424
```js
2525
consttree=createTree({ a: { b: { c:1, d:1 } } })
@@ -63,7 +63,7 @@ tree.a = { e: 1 }
6363
// b, c and d have been deleted so we just notify with undefined
6464
```
6565

66-
##Implementation Sketch
66+
###Implementation Sketch
6767

6868
Use proxies for dot notation.
6969
Data structure consists of two trees:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp