What is React?


Open source JavaScript library for building user interfaces.

  • Not a framwork, but library
  • Focus on UI
  • React has a rich ecosystem and plays really well with other libraries.

Why learn React?


  • Created and maintained by Facebook
  • More than 100k stars on Github
  • Huge community
  • In demand skillset

Component Based Architecture


React has a component based architecture, this let you break down your application into small encapsulated parts, which then can be composed to make more complex UIs.

For example, a traditional website can be broke down into:

  • HEADER
  • SIDENAV
  • MAIN CONTENT
  • FOOTER

Each section represents a component which make up the entire website.

Reusable Code


Components also make it possible to write reusable code.
리액트로 작성한 특정 컴포넌트를 다른 Angular, Vue 같은 다른 라이브러리에서도 사용할 수 있다. 기업에게 큰 장점이다.

React is declarative


  • Tell react what you want and React will build the actual UI - declarative paradigm. ( <-> imperative paradigm)
  • React will handle efficiently updating and rendering of the components.
  • DOM updates are handled gracefully in React.

More on why React?


  • Seamlessly integrate react into any of your application.
  • React native for mobile application.

0개의 댓글

Powered by GraphCDN, the GraphQL CDN