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