본문 바로가기

rhanziy

검색하기
rhanziy
프로필사진 rhanziy

  • 분류 전체보기 (170)
    • git (3)
    • Html_css_js (55)
    • React (25)
    • React Native (20)
    • Next.js (13)
    • Node.js (12)
    • Java (22)
    • Development setting (7)
    • study (9)
    • doodle (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • Spring
  • javascript
  • 이진탐색
  • app.post
  • supabase auth
  • 슬라이딩윈도우
  • xlsx-js-style
  • 글또10기x코드트리
  • extends
  • 코드푸시
  • supabase authentication
  • set
  • interface
  • array
  • reactnative
  • code-push-standalone
  • generic
  • 페이지네이션
  • Filter
  • 타입스크립트
  • 상속
  • async
  • Next.js
  • supabase 페이지네이션
  • codepush
  • 스크롤이벤트
  • meatadata
  • react
  • TS
  • map
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록File Reader (1)

rhanziy

React - image file 업로드 및 preview 구현

firebase로 sso기능 만들고 firestore에 사진+트윗 올리는 기능 만드는 중. image file 업로드와 preview 구현 코드. 사진 저장은 firestore에다 할 것이니 조금만 기다리세요. file 업로드 처리, 미리보기 코드 const [ attachment , setAttachment ] = useState(); const onFileChange = (e) => { const { files } = e.target; const theFile = files[0]; const reader = new FileReader(); reader.onloadend = (e) => { const { result } = e.currentTarget; setAttachment(result); } re..

React 2023. 2. 9. 17:49
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바