- React Components
- Christopher Pitt
- 109字
- 2021-07-09 19:34:45
Summary
In this chapter, we saw why component-based design is good. We saw what simple React components look like. We saw a few interesting differences between ES5 and ES6, and we also saw how those differences influence React components.
We also saw a few ways to make ES6 code work in an ES5-compatible way. We can write cutting-edge code that works on common browsers. We can even bundle that code into single, efficient files, or debug it live in a browser.
In the next chapter, we're going to look at some intricacies of state and properties. We'll begin by creating reusable React components to use in our example application.
推薦閱讀
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- Web應(yīng)用系統(tǒng)開發(fā)實(shí)踐(C#)
- Leap Motion Development Essentials
- Python計算機(jī)視覺編程
- AngularJS深度剖析與最佳實(shí)踐
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計算
- Python金融數(shù)據(jù)分析
- Raspberry Pi 2 Server Essentials
- 正則表達(dá)式經(jīng)典實(shí)例(第2版)
- Python Web數(shù)據(jù)分析可視化:基于Django框架的開發(fā)實(shí)戰(zhàn)
- Citrix XenServer企業(yè)運(yùn)維實(shí)戰(zhàn)
- 從零開始學(xué)Python網(wǎng)絡(luò)爬蟲
- Vue.js應(yīng)用測試
- jQuery從入門到精通(微課精編版)
- 計算機(jī)軟件項目實(shí)訓(xùn)指導(dǎo)