본문 바로가기

이다닷

검색하기
이다닷
프로필사진 이다닷

  • 분류 전체보기 (77)
    • JAVA (8)
    • JavaScript (22)
    • React (28)
    • TypeScript (3)
    • Flutter (0)
    • Frontend Study (13)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
  • promise
  • 렌더링
  • this 객체
  • useRef
  • 비동기함수
  • input
  • 메소드 실행
  • 컴포넌트
  • REACT
  • Frontend Study
  • 배열
  • CSS
  • callback함수
  • addEventListener
  • 이벤트핸들링
  • 자바스크립트
  • try.. catch
  • 이벤트
  • 함수 실행
  • frontendstudy
  • Props
  • FrontendStydy
  • typeScript
  • JavaScript
  • DOM
  • 리액트
  • useState
  • webProject
  • HTML
  • 배열메소드
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록CONCAT 함수 (1)

이다닷

[React] Day 8 - create 구현 2

Contents 변경 concat 함수 사용 ➡️이러한 방법으로 사용할 수 있는 concat 함수를 사용하여 우리가 입력한 title과 description 값을 추가해 줄 수 있다. ➡️이와같이 push 함수를 사용해도 원소를 추가할 수는 있지만 concat과는 달리 원본이 변경된다. 따라서 concat의 방법을 사용하려고 한다. 📢push대신 concat를 사용하는 이유 -> push는 성능적인 부분에서 많이 떨어진다. App.js 추가내용 var _title, _desc, _article = null; if (this.state.mode === 'welcome') { _title = this.state.welcome.title; _desc = this.state.welcome.desc; _artic..

React 2023. 9. 1. 18:00
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바