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
- 다중서명계약
- Sass
- 자바스크립트
- CA불러오기
- methoidID
- ts-loader
- Codestates
- Blockchain
- next.js
- @debug
- 자료구조
- Goerlifaucet
- webpack
- scss
- next-connect
- TypeScript
- 해쉬테이블
- 블록체인
- S3
- goerli
- wallet
- JavaScript
- 코딩테스트
- HTMLFormElement
- incentive
- set-cookie
- keccak256
- 스마트컨트랙트
- geth
- currentTarget
Archives
- Today
- Total
목록FormData (1)
Minwook’s portfolio

사용스택 next.JS, typeScript, sass, axios, formidable 추가. multer, next-connect 1. 프론트에서 file input으로 data 받기 이미지 구현방식은 useRef로 DOM에 접근해서 이미지파일을 가져오고 onChange를 걸어서 이미지 미리보기가 자동으로 바뀌게 구현할 것 이다. 1) useRef로 DOM에 접근하여 file 데이터 받아오기 const imgRef = useRef(null); const imgReset = () => { if (imgRef.current) { imgRef.current.value = ""; } }; return ( ... file 삭제하기 ... ) 삭제하기를 누를시에 e.current.value를 삭제시켜서 파일 이..
Today I Learned
2023. 3. 10. 00:14