Skip to content

Commit 9c909dd

Browse files
committed
chore: animation
1 parent d527a06 commit 9c909dd

24 files changed

+497
-160
lines changed

site-github-tips.md renamed to app-github-tips.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
2-
title: site-github-tips
2+
title: app-github-tips
3+
tags: [app]
34
created: '2020-07-31T11:59:56.787Z'
4-
modified: '2020-07-31T12:12:10.130Z'
5+
modified: '2020-08-04T12:24:02.650Z'
56
---
67

7-
# site-github-tips
8+
# app-github-tips
89

910
- 搜索
1011
- 搜索一个organization的仓库,可使用 `user:orgName`

app-software-xp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: app-software-xp
3-
tags: [pm, software, xp]
3+
tags: [app, pm, software, xp]
44
created: '2020-03-19T10:34:14.363Z'
55
modified: '2020-07-14T10:20:33.275Z'
66
---

log-dev-error.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: log-dev-error
33
tags: [dev, log]
44
pinned: true
55
created: '2020-02-20T10:43:37.374Z'
6-
modified: '2020-07-14T09:22:26.651Z'
6+
modified: '2020-08-04T12:24:45.908Z'
77
---
88

99
# log-dev-error
1010

1111
## logging
1212

13-
- eact-dom.development.js?e444:23965 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
13+
- react-dom.development.js?e444:23965 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
1414
- element.type should be a string or class / function
1515
- 因为忘记导出组件了 export Component
1616
- 'App' refers to a value, but is being used as a type here

log-dev-pieces-frontend.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: log-dev-pieces-frontend
33
tags: [dev, frontend, log]
44
pinned: true
55
created: '2019-06-09T15:54:12.063Z'
6-
modified: '2020-07-14T10:35:32.752Z'
6+
modified: '2020-08-04T12:25:38.927Z'
77
---
88

99
# log-dev-pieces-frontend
@@ -13,6 +13,7 @@ modified: '2020-07-14T10:35:32.752Z'
1313
- styled-components中的样式冲突要注意计算specificity
1414
- `div.cls1` 的特指度高于 `.cls2` ,即使.cls2写在后面
1515
- `className=cls1 cls2` 最终使用的样式取决于源码import进来后,cls1和2在源码中声明的先后顺序
16+
- 不推荐的解决方法是采用id选择器
1617
- 在外层div将font-size设置为1.2em后,button上的文字仍然是13.33的font-size,需要设置的是 `button {font-size: 100%}`
1718
- 要注意分辨文字是span,还是button
1819
- 前端兼容性处理 caniuse

log-weekly.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,21 @@ modified: '2020-07-14T09:30:54.711Z'
99

1010
# 2020
1111

12+
## w0831-0906
13+
14+
## w0824-0830
15+
16+
## w0817-0823
17+
18+
## w0810-0816
19+
20+
## w0803-0809
21+
1222
## w0727-0802
1323

24+
- grid-tabelify
25+
- z-index & stacking context
26+
1427
## w0720-0726
1528

1629
- css table 5 approaches
@@ -21,10 +34,11 @@ modified: '2020-07-14T09:30:54.711Z'
2134

2235
## w0706-0712
2336

24-
- webpack 5编译js项目时,优先使用 `src/index.js` ,而不是 `entry` 配置的入口
25-
- webpack hmr热替换react项目通常是顶层App,不保存状态数据的hmr类似full reload
26-
- webapck 5移除了node兼容模块,以减小打包size
27-
- 升级依赖时注意大版本可能不兼容,如namor 2缺失各种依赖
37+
- webpack 5编译js项目
38+
- 优先使用 `src/index.js` ,而不是 `entry` 配置的入口
39+
- webpack hmr热替换react项目通常是顶层App,不保存状态数据的hmr类似full reload
40+
- 5移除了node兼容模块,以减小打包size
41+
- 升级npm依赖时注意大版本可能不兼容,如namor 2缺失各种依赖
2842
- react DevTools,只高亮updates,不高亮remount
2943
- chrome paint flashing高亮所有paint,包含updates和remount
3044

@@ -38,7 +52,7 @@ modified: '2020-07-14T09:30:54.711Z'
3852

3953
## w0615-0621
4054

41-
- react-slider
55+
- react-sidebar
4256

4357
## w0608-0614
4458

@@ -109,8 +123,8 @@ modified: '2020-07-14T09:30:54.711Z'
109123

110124
## w0902-0908
111125

112-
- [ ] shapely-theme
113-
- [ ] shapely-locale
126+
- shapely-theme
127+
- shapely-locale
114128

115129
## w0826-0901
116130

note-components-react-in-action.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,26 @@ modified: '2020-07-14T11:26:58.980Z'
1818
- logo: green plum
1919
- design-system-tokens
2020
- text: sans serif(衬线体多用于印刷)
21-
- color: mineral-ui-color-palette, primary-mediumseagreen-like
21+
- color: mineral-ui-color-palette, primary-mediumseagreen
2222
- bezel-less
2323
- interaction
2424
- hover-color
2525
- click-ripple
2626
- loader-flower
2727
- animation
28-
- rotate
29-
- unfold
30-
- point movement
28+
- flip
29+
- misc
30+
- rotate
31+
- unfold
32+
- point movement
3133
- shape
3234
- point/polygon-shape-based
3335
- https://medium.com/google-design/you-need-a-shape-system-8d2aa9016817
3436
- 公共api
3537
- variant
36-
- borderless: 部分组件提供无边框的版本,如modal
38+
- borderless
39+
- 部分组件提供无边框的版本,如modal
40+
- 也可考虑实现成dark mode的形式
3741

3842
## react-dev-in-action
3943

0 commit comments

Comments
 (0)