- The React Workshop
- Brandon Richey Ryan Yu Endre Vegh Theofanis Despoudis Anton Punith Florian Sloot
- 190字
- 2021-06-11 18:28:34
Introduction
In React, code is written in the form of entities called components that help us organize code modularly. This modular structure allows apps to be scalable and maintainable. React.js, as a JavaScript library, has achieved a lot of popularity in the web domain and has rightly been enjoying this success because it allows developers to build scalable apps rapidly while employing industry best practices.
In the previous chapters, we have largely worked with a specific type of component in React called class components. When the React framework emerged in the scene, the use of class-based components increased. During the early days of React, even before classes were available to us in JavaScript (ES6), React implemented its own take on classes with React.createClass. However, starting with React 0.14.0, ES6 component classes extended React.Component. And so, components can now be defined as Class components that use JavaScript classes to extend React.Component and Function components that are written as JavaScript functions. React works with React DOM, which renders these components in a chosen root element in the HTML DOM to render the React app. Let's start with the structure of React components.
- TypeScript入門與實戰(zhàn)
- What's New in TensorFlow 2.0
- C# 2012程序設計實踐教程 (清華電腦學堂)
- Oracle從新手到高手
- Python從菜鳥到高手(第2版)
- 神經網絡編程實戰(zhàn):Java語言實現(原書第2版)
- 編寫高質量代碼:改善C程序代碼的125個建議
- 深入理解Android:Wi-Fi、NFC和GPS卷
- 基于Struts、Hibernate、Spring架構的Web應用開發(fā)
- Functional Python Programming
- Python面試通關寶典
- HTML5 WebSocket權威指南
- 歐姆龍PLC編程指令與梯形圖快速入門
- Django 3 Web Development Cookbook
- Analytics for the Internet of Things(IoT)