Skip to content

Commit

Permalink
feat: 记录一下问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yanlele committed Jun 29, 2021
1 parent fa4f933 commit 94cf571
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 120,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
7 changes: 7 additions & 0 deletions book/25、自我管理/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@
- webWorker 是什么、怎么使用、最佳场景?
- React 事件注册 和 addEventListener 有啥区别?
- 异步场景问题
- 如果 await 一个异步函数, 但是那个异步函数里面最后执行的是同步代码,那么执行顺序是?
- 领域模型和数据模型是啥
- 一直在 window 上面挂东西是否有什么风险?
- 什么情况下 tree-shaking 会失效
- 一个方法里面,使用多个setState, 是否会引起多次重复渲染?
- 关于函数返回的问题研究
- 在高阶函数返回值是一个新的函数对象, 这种新的函数对象是否会引起组件重复渲染
- 是否有更好的解决办法呢?



### 需要长期研究的问题
- 划词技术栈有哪些
Expand Down
3 changes: 3 additions & 0 deletions docs/2021年/06月/01、一个异步执行问题/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 一个异步执行问题

首先来看一个有趣的问题

0 comments on commit 94cf571

Please sign in to comment.