전체 글566 [TS Design Patterns] 생성 패턴 - 빌더 Builder - Lets you construct complex objects step by step - Allows us to produce different types and representations of an object using the same construction code - Suggests that us extract the object construction code out of its own class and move it to separate objects called builders - 예시 /** * The Builder interface specifies methods for creating the different parts of * the Product objects. .. 2023. 10. 21. [TS Design Patterns] 생성 패턴 - 팩토리 메서드 Factory Method (Virtual Constructor) - Provides an interface of creating objects in a superclass, but allows subclasses to alter the type of objects that will be created - Suggests that we replace direct object construction calls (using the new operator) with calls to a special factory method - Creator, Sub Classes - Sovles the problem of creating product objects without specifying their concret.. 2023. 10. 21. [TS Design Patterns] 생성 패턴 - 추상 팩토리 Abstract Factory - lets you produce families of related object without specifying their concrete classes - Product families and their variants - The first thing the Abstract Factory pattern suggests is to explicitly declare interfaces for each distinct product of the product family - Then We can make all variants of products follow those interfaces - The next move is to declare the Abstract Fact.. 2023. 10. 19. [World Article #9] React Design Patterns: You Should Know in 2023 - by Saurabh Barot (작성중...) 1. The HOC (Higher Order Component) Pattern - memo (React 내장 HOC) - withRouter (React-Router) - connect (React-Redux) - withStyles (MUI) - Q. class형 말고 함수 컴포넌트로 작성 가능? - Q. Redux의 flux 패턴이란? - 예시) memo, withRouter 2. The Provider Pattern - React-Redux, Mobx 등 상태 관리 라이브러리의 기본 - React 내장 Context API 기반 - 핵심은 Avoid Props Drilling - Q. 그 사이 props 필요없는 컴포넌트도 리렌더링 같이 발생? - 예시) 어드민 3. Presenta.. 2023. 10. 18. [Real World 스터디] - 책거리 2023년 10월 12일 목요일 Real World 스터디 공식적인 미팅은 지난번에 끝이 났고 오늘은 책거리로 네트워킹 파티가 열렸습니다. 파랑님이 29cm에서 주최하시면서 약 100명 정도의 개발자분들이 와주셨습니다. 저도 저희 회사 CTO님을 비롯해서 총 여덟 분의 지인들을 초대해서 좋은 만남의 장을 가지도록 하였습니다. 초반에 파랑님이 OT로 아이스 브레이킹을 진행하시고 이후 각 테이블 별로 치킨과 떡볶이 그리고 맥주를 마시면서 네트워킹이 진행되었습니다. 이렇게 많은 개발자분들이 오실 거라고는 전혀 생각 못했는데 재밌고 좋은 시간이었습니다. 연차가 있는 개발자분들도 꽤 오셔서 더 값진 네트워킹이 되었습니다. 그동안 다들 고생 많으셨고 앞으로도 하시는 일들 모두 잘 되시길 기원하겠습니다. 저는 리얼월.. 2023. 10. 13. 이전 1 ··· 13 14 15 16 17 18 19 ··· 114 다음 반응형