Commit 75581aac by Tulip Li

0831 finished the task one

parent 15cb79f5
# set up bobcat on local # set up bobcat on local
run the shell commands one by one \ run the shell commands one by one \
reset postgres reinstall postgres
# markdown 语法学习 # markdown 语法学习
> ###引用 > ###引用
...@@ -47,3 +47,22 @@ __coding加粗__ ...@@ -47,3 +47,22 @@ __coding加粗__
--- ---
# try to do the first task
> ### 1.learn Flux
>
>> the dispatcher\the stores\the views\the actions
>
>> Action -> Dispatcher -> Store -> View
> ### 2.learn Morearty
>
>> know TodoMVC is how to work \
>> know getDefaultBinding()
> ### 3.learn Imumutable
>
>> **List**,**Stack**,**Map**,**OrderedMap**,**Set**,**OrderedSet** and **Record**
>
>>
# to do the first task
Have finished the task one \
Some questions and confusion
* I want to add `focus()` to the `<input ref="permalink"/>` , but it doesn't work when I first click the EDIT button, but it works next time
```js
_onEditStatusChange = () => {
this.refs.permalink.focus()
this.setStateWithForceUpdate({
editStatus: false
})
}
```
* I am confused with the `this.setState` and `this.setStateWithForceUpdate` and try to read the doc again
after read the doc Deprecated ,know the `this.setStateWithForceUpdate` and `dangerouslySetInnerHTML` are deprecated
test commit
` this is command`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment