Before Start
- React is a JavaScript Library for Building user Interface
- HTML, CSS & JavaScript are about building user interfaces as well
<aside>
π‘ React makes building complex, interactive and reactive user interfaces simpler
</aside>
- React is all about β
component
β
What is React
- A client-side Javascript Library
- All about building modern reactive user interfaces for the web
- 2013.05 μ€νμμ€λ‘ 곡κ°λμλ€.
- One of the most popular front-end library
- Lean and focused component-based UI library
Why React
-
μμ μ μΈ κΈ°μ μ€νμ μ¬μ©ν μ μλ€.
- μ€ννμ§ 8λ
- νμ΄μ€ λΆ λ΄λΆμμ μ¬μ©μ Fboltλ‘ λΆλ Έλ€.
-
React can be used to control parts of HTML pages or entire pages
-
React can also be used to control the entire frontend of a web application
- Single Page Application (SPA) approach.
- Server only send one HTML page, thereafter, React takes over control the UI
- Netflix is built, never request a second HTML page
React.js
Alternatives
- Lean and focused component-based UI Library.
- Certain features are added via community packages.
Angular