1.1 A Note on JavaScript 一個JavaScript的提醒

React is a JavaScript library, and so it assumes you have a basic understanding of the JavaScript language. If you don't feel very confident, we recommend refreshing your JavaScript knowledge so you can follow along more easily.

React 是一個JavaScript庫,所以我們假設(shè)你有對JavaScript語言有一個基本的了解。如果你感覺不是很有信心,我們建議更新JavaScript知識,那樣能學(xué)的更簡單。

We also use some of the ES6 syntax in the examples. We try to use it sparingly because it's still relatively new, but we encourage you to get familiar with arrow functions, classes, template literals, let, and const statements. You can use Babel REPL to check what ES6 code compiles to.

我們同樣在事例中使用了ES6語法。我們會盡量謹慎使用它,畢竟ES6相對來說還是很新的。但是我們鼓勵你熟悉箭頭函數(shù),類,模板字面量,let和const的語句。你可以使用Babel REPL檢驗ES6代碼都編譯成什么了。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

推薦閱讀更多精彩內(nèi)容