Skip to content

Commit ade67b9

Browse files
committed
update 目录和末尾
1 parent 85be0ed commit ade67b9

File tree

1 file changed

+46
-7
lines changed

1 file changed

+46
-7
lines changed

slides.md

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,37 @@ by 夏影
2020
</span>
2121
</div> -->
2222

23-
<!--
24-
The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes)
25-
-->
23+
---
24+
25+
# 目录
26+
27+
<div grid="~ cols-2 gap-4">
28+
29+
<div>
30+
31+
- 响应式系统
32+
+ 副作用函数 effect
33+
+ reactive
34+
+ ref
35+
+ computed
36+
+ watch
37+
+ 自动脱 ref
38+
39+
- 编译器
40+
+ 解析器 parser
41+
+ 转换器 transform
42+
+ 代码生成 generate
43+
44+
</div>
45+
46+
<div>
47+
48+
- Demo
49+
+ 计数器 Counter
50+
51+
</div>
52+
53+
</div>
2654

2755
---
2856
layout: center
@@ -871,7 +899,7 @@ function watch(source, cb) {
871899

872900
---
873901

874-
## reactive 非原始的值影响是方案
902+
## 非原始的值影响是方案: reactive
875903

876904
实际上之前对拦截器代码的封装,我们已经实现了 `reactive`
877905

@@ -936,7 +964,7 @@ obj.info.foo = 'aaa'
936964

937965
---
938966

939-
## ref 原始值的响应式方案
967+
## 原始值的响应式方案: ref
940968

941969
对于原始数据类型,`number, string...`,JS 底层没有提供任何拦截的方式,JS 只能拦截对象类型的数据。
942970

@@ -2120,7 +2148,18 @@ createApp({
21202148
</div>
21212149

21222150
---
2123-
layout: center
2151+
layout: image
2152+
image: public/mikoto-misaka.jpg
21242153
---
21252154

2126-
# 感谢观看
2155+
<style>
2156+
.thanks {
2157+
position: absolute;
2158+
top: 50%;
2159+
writing-mode: vertical-rl;
2160+
transform: translateY(-50%);
2161+
letter-spacing: 0.3em;
2162+
}
2163+
</style>
2164+
2165+
<h1 class="thanks">感谢观看</h1>

0 commit comments

Comments
 (0)