Skip to content

Commit be52882

Browse files
committed
add vue example、 react example
1 parent 95509fa commit be52882

33 files changed

+55
-18
lines changed

README.md

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,45 @@
11
# JavaScript学习记录
22

3-
> 总结内容主要都是红宝书中阅读整理
4-
> 不管在哪里看文章都推荐前端学习此书可想而知本书的受欢迎程度:
3+
> 第一部分: 《JavaScript高级程序设计》阅读整理
54
>
6-
>《JavaScript高级程序设计》 [] Nicholas C.Zakas 著
5+
> 总结内容主要都是红宝书中阅读整理:不管在哪里看文章都推荐前端学习此书可想而知本书的受欢迎程度:
76
>
87
> 记录自己曾经遗漏的小知识点,系统性的学习JavaScript体系。过程中避免不了要涉及HTML,以及CSS的内容。
9-
此系列文章可能更适合我自己的知识体系,如果其中恰好也有帮助到你的知识点,那真是甚感荣幸。
8+
此系列文章可能更适合我自己的知识体系,如果其中恰好也有帮助到你的知识点,甚感荣幸。
9+
>
10+
> 第二部分:Vue 示例:
11+
>
12+
> 此部分内容主要是记录平时练习,试验的vue示例。
13+
>
14+
> 第三部分:React 示例:
15+
>
16+
> react 部分主要是为了团队分享而整理代码记录与此。
17+
>
18+
1019

1120
## 知识点列表:
1221

13-
1. [][在HTML中使用JavaScript](./article/001-use-javascript-in-html.md)
14-
2. [][基本概念-数据类型](./article/002-basic-data-type.md)
15-
3. [][基本概念-函数](./article/003-basic-function.md)
16-
4. [][变量、作用域或内存问题](./article/004-variables-scope.md)
17-
5. [-]引用类型之
18-
1. [][Object、Array](./article/005-reference-object-array.md)
19-
2. [][Date、RegExp](./article/005-reference-date-regexp.md)
20-
6. [-][面向对象的程序设计](./article/006-object-oriented.md)
21-
7. [-]函数表达式
22-
8. [-]BOM
22+
1. 《JavaScript高级程序设计》阅读整理:
23+
1. [][在HTML中使用JavaScript](./article/001-use-javascript-in-html.md)
24+
2. [][基本概念-数据类型](./article/002-basic-data-type.md)
25+
3. [][基本概念-函数](./article/003-basic-function.md)
26+
4. [][变量、作用域或内存问题](./article/004-variables-scope.md)
27+
5. [-]引用类型之
28+
1. [][Object、Array](./article/005-reference-object-array.md)
29+
2. [][Date、RegExp](./article/005-reference-date-regexp.md)
30+
6. [-][面向对象的程序设计](./article/006-object-oriented.md)
31+
7. [-]函数表达式
32+
8. [-]BOM
33+
34+
2. Vue 示例:
35+
1. [][vue 父子组件通信](./vueExample/dist/index.html)
36+
37+
3. React 示例:
38+
1. [-][react 父子组件通信](./reactExample/index.html)
39+
2. [-][react 跨级组件通信](./reactExample/index.html)
40+
3. [-][组件间抽象mixin](./reactExample/index.html)
41+
4. [-][高阶组件、组合式组件开发实践](./reactExample/index.html)
42+
5. [-][组件性能优化纯函数](./reactExample/index.html)
2343

2444

2545
未完待续...

reactExample/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>React 示例</title>
6+
</head>
7+
<body>
8+
<h2>待完善...</h2>
9+
</body>
10+
</html>

reactExample/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "reactExample",
3+
"version": "0.0.1",
4+
"dependencies": {
5+
6+
}
7+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)