Commit 46467271 by Eddy Guo

Update 10791.md

parent aa2db160
1. Dialog // todo 0.5 ### Dialog // todo 0.5
### FontSelectorButton // todo
2. FontSelectorButton // todo
editor-store.coffee FontStore.init(binding.sub('fonts'), binding.sub('pageData')) editor-store.coffee FontStore.init(binding.sub('fonts'), binding.sub('pageData'))
多挂了 pageData store 多挂了 pageData store
3. animationSelector // todo ### animationSelector // todo
this.getBinding('site')->this.getBinding('site').sub('animations.page_scroll') this.getBinding('site')->this.getBinding('site').sub('animations.page_scroll')
4. site binding // todo 0.1 ### site binding // todo 0.1
由于 site 的 re-render 带起来的子组件的 re-render
site binding-> PageDataStore.getBinding()
ThemeStyleTagContainer re-redner ThemeStyleTagContainer re-redner
should I use shouldComponentUpdate should I use shouldComponentUpdate
observeBinding too many store observeBinding too many store
5. side menu binding too much // todo ### side menu binding too much // todo
\ No newline at end of file
why add default?
page: PageDataStore.getCurrentPageBinding()
site: PageDataStore.getBinding()
去掉无用的 binding, 将 binding 下放到最小的组件中
\ No newline at end of file
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