Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Mar 1, 2019
1 parent 9500ddd commit f902289
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions 92.精读《React PowerPlug 源码》.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@ React 项目中,一般一个文件就是一个类,状态最细粒度就是
```typescript
class App extends React.PureComponent {
state = {
name = 1
isLoading = false
isFetchUser = false
data = {}
disableInput = false
validate = false
monacoInputValue = ''
value = ''
}
name: 1,
isLoading: false,
isFetchUser: false,
data: {},
disableInput: false,
validate: false,
monacoInputValue: "",
value: ""
};

render () { /**/ }
render() {
/**/
}
}
```

Expand Down

0 comments on commit f902289

Please sign in to comment.