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
- 새로고침
- 드림핵
- 프로그래머스
- 꿀팁 환영
- redux state값 유지
- 공공데이터 포털
- url 랜더링
- 사업계획서
- 티스토리챌린지
- API 활용 신청
- Dreamhack
- 코딩테스트
- 고고학 최고의 발견
- python
- 보안
- react-router-dom
- React
- php-1
- 블로그 뉴비
- 부산 맛집 OPEN API
- 개발
- 훈수 가능
- 창업 300
- 오블완
- apk 빌드
- Redux
- web-view
- level3
- expo
Archives
- Today
- Total
목록Redux (1)
1223v

프로젝트에서 react의 redux를 사용하는데, 새로고침이나 하이퍼링크를 이용한 이동시 state값이 초기화되버린다. 그래서 새로고침해도 state값이 유지되는 redux-persist를 사용하려고 한다. 폴더 구조는 이러하다. www.npmjs.com/package/redux-persist redux-persist persist and rehydrate redux stores. Latest version: 6.0.0, last published: 3 years ago. Start using redux-persist in your project by running `npm i redux-persist`. There are 906 other projects in the npm registry using ..
개발
2022. 10. 14. 15:11