FrontEnd
The Difference Between VAC(View Asset Component) Pattern and Container/Presenter Pattern
DevInvestor
2022. 6. 25. 05:51
반응형
https://www.patterns.dev/posts/presentational-container-pattern/
Container/Presentational Pattern
Enforce separation of concerns by separating the view from the application logic
www.patterns.dev
https://wit.nts-corp.com/2021/08/react에서-view의-렌더링-관심사-분리를-위한-vac-패턴-소개/
React에서 View의 렌더링 관심사 분리를 위한 VAC 패턴 소개 | WIT블로그
React에서 View의 렌더링 관심사 분리를 위한 VAC 패턴 소개 시작하며 FE개발에서 View는 정보의 시각화 뿐만 아니라 사용자와 상호작용하는 역할을 포함하고 있습니다. 그래서 View를 개발하는 것은
wit.nts-corp.com
Takeaways
On VAC Components
- It only performs rendering-related processing
- iteration
- conditional exposure
- style control
- It is a stateless component
- that is controlled only through props
- does not manage or change its own state.
- When binding a function to an event, it does not do any additional processing.
반응형