Library

    [redux-persist] WebStorage에 light/dark mode 저장하기

    아직 남아있는 문제 WhiteList에 'mode'를 지정했음에도 counterReducer가 같이 저장되는 현상은 왜 발생하는 걸까? 이왕 Mode를 적용했으니 시각적인 효과도 주고 싶다. -> Design System에 대해 공부해야 함 사용해보게 된 계기 WebStorage를 활용해야 하는 업무가 주어졌다고 하자, 멘토님이 redux-persist를 알려주셨다. 공부해보라고 하셨는데 프로젝트를 구성해서 직접 사용해보았다. 나는 세팅된 redux를 사용해본적밖에 없기 때문에, redux 최초 세팅을 해보는 게 처음이었다. 생각해 보기로, redux-persist가 프로젝트에서 단독으로 쓰이기보다는 redux와 함께 쓰일 가능성이 매우 높을 것 같았다. 그래서 redux에서 예제로 자주 쓰는 Count..

    RTK-query로 게시판 작성 시, formdata를 넘기고 싶은 경우

    https://stackoverflow.com/questions/76340703/send-form-data-with-rtk-query send form data with rtk query I wanna send an image with form data to the nest js server with RTK query but the file didn't send. the code are: uploadImage: builder.mutation({ query: (imageFile) => { ... stackoverflow.com 이걸 보고 시도했지만 에러가 났다. 왤까... rtk-query 홈페이지에서 formdata를 검색해도 나오는게 없어서 좀 헤맸다. saveBoard: builder.mutation..

    [devextreme] when your areaIndex of PivotGrid doesn't work

    You can find the '_data > rows', and under that there is '_cacheByPath'. I guess your fields order is different from what you made. Look at the '_fields' below. You can check your areaIndex works well there. For the first time I returned the PivotGridDataSource object like this. return new PivotGridDataSource({ fields: [... ...] }) And changed it like this. const result; result = new PivotGridDa..

    react-hook-form data not bounded, useForm not working

    no error, not working working difference ('userId'), -> ('userId',

    "editor.defaultFormatter": "esbenp.prettier-vscode", value is not accepted

    File > Preferences > Settings > Default Formatter 리스트에 esbenp.prettier-vscode 가 안 뜨면 prettier를 uninstall후 다시 install하면 된다....

    Tailwind 설정 방법 참고 링크

    https://blog.rhostem.com/posts/2021-06-05-tailwind-css blog.rhostem.com 프론트엔드 웹 개발 기술 블로그 blog.rhostem.com -o, -w 같은 명령어가 무엇을 뜻하는지 궁금한데 잘 안 나온다. 얘네들은 뭐라고 부르는 걸까?