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
/dobPublic

Commite2cfe74

Browse files
committed
update readme
1 parent9c58ada commite2cfe74

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

‎readme.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,18 @@ class B {
107107
}
108108
```
109109

110+
###Do not deconstruct to the last level on dynamic object
111+
112+
```typescript
113+
const obj=observable({ a:1 })
114+
115+
// good
116+
obj.a=5
117+
// bad
118+
let { a }=obj
119+
a=5
120+
```
121+
110122
##Inspired
111123

112124
-[mobx](https://github.com/mobxjs/mobx)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp