1. react hook form with yup
https://codesandbox.io/s/react-hook-form-apply-validation-q5m00?file=/src/index.js
2. position absolute align center
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
3. local환경에 저장된 이미지를 url로 바꾸기
https://kyounghwan01.github.io/blog/JS/JSbasic/Blob-url/#createobjecturl
4. classnames
https://chanhuiseok.github.io/posts/react-14/
728x90
'TIL' 카테고리의 다른 글
[TIL] 20211210 react, redux with typescript/ 웹뷰 흐릿해지는 문제/ prettier 설정 (0) | 2021.12.14 |
---|---|
[TIL] 20211209 react-query/select tag value/react-table-sticky (0) | 2021.12.14 |
[TIL] 20211207 react-table editable/ fixed column/ css (0) | 2021.12.10 |
[TIL] 20211206 react 라이브러리들 (0) | 2021.12.08 |
[TIL] 20211203 react table/ react css / emotion.js / @emotion.react (0) | 2021.12.08 |