File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 333
333
阅读资源:
334
334
335
335
1 . [ React 中文文档] ( https://react.docschina.org/docs/hello-world.html )
336
+ 2 . [ 掘金 - 图解 React] ( https://juejin.im/post/5b481f6b51882519ad6175c2 )
337
+ 2 . [ 掘金 - 200行代码实现简版react] ( https://juejin.im/post/5c0c7304f265da613e22106c )
336
338
337
339
338
340
2 . ### React 的主要特点是什么?
371
373
372
374
这里你可以访问 [Babeljs](https: // babeljs.io/repl) 在线体验一下。
373
375
376
+ 阅读资源:
377
+
378
+ 1. [从零开始实现一个React(一):JSX 和虚拟DOM ](https: // github.com/hujiulong/blog/issues/4)
379
+
374
380
375
381
4. ### 元素和组件有什么区别?
376
382
544
550
setState({ name: ' John' }, () => console .log (' The name has updated and component re-rendered' ))
545
551
` ` `
546
552
553
+ 阅读资源:
554
+
555
+ 1. [掘金 - 揭密React setState](https://juejin.im/post/5b87d14e6fb9a01a18268caf)
556
+
547
557
13. ### HTML 和 React 事件处理有什么区别?
548
558
549
559
1. 在 HTML 中事件名必须小写:
1538
1548
)
1539
1549
` ` `
1540
1550
1551
+ 阅读资源:
1552
+
1553
+ 1. [掘金 - 精读《React 八种条件渲染》](https://juejin.im/post/5b285c0d5188257494641d0b)
1554
+
1541
1555
1542
1556
68. ### 为什么在 DOM 元素上展开 props 需要小心?
1543
1557
4145
4159
}
4146
4160
` ` `
4147
4161
4162
+ 阅读资源:
4163
+
4164
+ 1. [掘金 - 30分钟精通React Hooks](https://juejin.im/post/5be3ea136fb9a049f9121014)
4165
+
4148
4166
227. ### Hooks 需要遵循什么规则?
4149
4167
4150
4168
为了使用 hooks,你需要遵守两个规则:
You can’t perform that action at this time.
0 commit comments