목록전체 글 (374)
Silver Library (Archived)
부제는 '필자가 실전에서도 쓸 수 있거나, 써 본 경험이 있는 디자인 패턴' 입니다. 한마디로 '저런 기반으로 시작한 적이 있었는데...!' 싶은 것들. #1 Factory Method Pattern #2 Abstract Factory Pattern #3 Decorator Pattern #4 Proxy Pattern #5 Iterator Pattern #6 Observer Pattern 참고. JavaScript Design Patterns – Explained with Examples Hi everyone! In this article I'll explain what design patterns are and why they're useful. We'll also go through some of th..
여러모로 알아보던 중, 손해볼 것 같진 않다는 생각이 들었습니다. 현재 확실한 부분. 1. Redux is a state container for JS apps. 2. Consider a React app: like state of a component. 3. Redux stores the state of its application. 4. Redux will store and manage the application state. Redux is a state container. The state of the application can change. Just like an example: todo list app -> item(pending) -> item(completed) In Redux, a pa..
분명 react 를 쓰면서도 안정감은 있었지만, 이는 결국 익숙해짐에 따른 안정감이란 생각이 들었습니다. 그도 그럴게, 처음에 저 props 개념 접할 때만 해도 '저거 prototype 같이 작동하는 거 아니였나?' 라는 생각이 들 정도로 헷깔렸기 때문입니다. 그럼 이 Svelte 는 뭘까요. 이 글은 다소 편향 될 수 있습니다. Now That React.js is Dead, What’s the Next Big Thing? Some Goodbyes are best for you. javascript.plainenglish.io 올해 부터 Svelte 에 대한 주목도는 있어왔습니다. 그렇다면 이건 뭘까요. 이 것 또한 역시 React 에서 하던 복잡한 개념의 코드를, 간단하게 태그로 Wrapping 해..
개요. 공식에서 권장하는 Redux Toolkit 을 위주로 차근히 정리 노트를 써나가보고자 합니다. 현재는 개인 전용 정리 노트에 가까운 분위기 이므로, 향후 한글과 함께 정돈 해 나가고자 합니다. 한계. 이 글은 지속적으로 업데이트 될 예정입니다. 일부 부정확한 정보가 있을 수 있습니다. 준비물. # NPM npm install @reduxjs/toolkit 주요 개념 Reducer: REDUCER: In redux, the reducers are the pure functions that contain the logic and calculation that needed to be performed on the state. These functions accept the initial state of..