Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- hook
- tanstackquery
- Redux
- component
- backend
- typescript
- golang
- 오블완
- react-hook-form
- 웹애플리케이션서버
- designpatterns
- JPA
- css
- test
- java
- Gin
- React
- springboot
- satisfiles
- 티스토리챌린지
- RTK
- storybook
- Spring
- JavaSpring
- javascript
- frontend
- ReactHooks
- go
- Chakra
Archives
- Today
- Total
목록flux (1)
bkdragon's log
[Redux] Redux Toolkit
Redux Toolkit Redux를 편하게 사용할 수 있는 도구이다. Redux의 보일러 플레이트 코드를 줄이고 immer, reselect, redux-thunk 등의 부가 라이브러리를 통해 편의성을 증가시켰다. 우선 얼마나 코드가 줄어드는지 확인 해보자. 기존 코드 oldCounter.ts // 액션 타입에 들어갈 값 const INCREASE = 'counter/INCREASE' as const; const DECREASE = 'counter/DECREASE' as const; const INCREASE_BY = 'counter/INCREASE_BY' as const; // 액션 생성 함수 export const increase = () => ({ type: INCREASE, }); export ..
concept
2023. 7. 27. 17:30