Intro to React
短篇 React 學習筆記。
Intro to React
React = JS library for building user interfaces or UI components.
Features
- JSX - JavaScript Syntax Extension
- Virtual DOM
- One way data binding
- Extensions
- Debugging
Advantages & Limitations
Virtual DOM: React uses virtual DOM which is a JS object. This will improve apps performance, since JS virtual DOM is faster than regular DOM.
Usability:React can be used on client and server sides as well as with other frameworks (i.e. NativeScript).
Maintenance:Component and data patterns improve readability, which helps to maintain larger apps.
But React covers only the view part of the app. So to complete the entire development we would have to choose other technologies.