Recoil 전역상태관리 사용법 #57
xmun74
announced in
Announcements
Replies: 3 comments
-
|
굉장합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
엄청납니다 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
감사합니다! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Recoil 사용법
전역변수로 사용하는 예시
설정 위치
src/recoil/userState.tsatoms - 전역변수 담는 곳
새로고침해도 전역변수 값 유지하기
전역변수 사용법
recoil 파일 생성 위치
src/recoil폴더 안에 원하는 파일명(예:filterState.ts)으로 생성하기참고
Beta Was this translation helpful? Give feedback.
All reactions