320x100
320x100
- Imperative: Give step-by-step instructions on how to reach a certain goal
- Declarative: Describing the result (the what), without instructing how to do it
예시)
Mom wants a kid to tidy up its room.
- Imperative: “Pick up the toys, then empty the bin, then remove dust and finally vacuum the floor.”
- Declarative: “Here’s a picture of how your room looks like clean. I want you to get it into that state in 30 minutes.”
선언적 렌더링?
DOM 엘리먼트에게 다시 렌더링할 것을 명령하지 않고 DOM과 연결된 상태와 속성이 변경될 때 자동으로 DOM 엘리먼트가 업데이트되는 것을 의미
- 선언적 렌더링을 사용하는 Framework(Library)
- Vue
- React
- 명령형 렌더링을 사용하는 Framework(Library)
- jQuery
- Angular

참고
https://www.explainprogramming.com/theory/imperative-declarative-react/
Imperative vs. declarative rendering of user interfaces
What do the terms imperative and declarative mean in the context of creating interactive user interfaces in React and React Native (in contrast to jQuery)?
www.explainprogramming.com
https://dev.to/this-is-angular/wrapping-imperative-apis-in-angular-550b
Wrapping Imperative APIs in Angular
Easily guaranteeing consistency by wrapping imperative APIs in Angular.
dev.to
320x100
'Frontend > Common' 카테고리의 다른 글
Frontend Logging System PoC 공유(23년 12월에 진행) (5) | 2024.07.23 |
---|---|
개발자도구 조금 더 잘쓰기( feat. network tab ) (0) | 2023.09.25 |
Mac Node.js, Npm(Node Package Manager) 버전 LTS로 업데이트 하기 (0) | 2023.01.11 |
댓글