lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Reactjs 2017‧06‧21

    findDOMNode) is not a function 오류 발생시

    import React, { findDOMNode, Component, PropTypes } from 'react'; 이런식으로 findDOMNode 를 한 뒤 참조를 아래처럼 설정할 경우 오류가 날 것이다. const node = findDOMNode(this.refs.input); 리액트 버전 15(일부 제외)부터는 findDOMNode를 쓰지 않고 바로 ref를 사용해도 된다. const node = this.refs.input; 바로 사용해도 된다.

popular

  • react native - Text 컴포넌트에한 줄 내림 처리 (html의 br 태그 같은 처리)
  • react native - 설치된 자바 버전에 따른 오류
  • [25년12월 5일 ] react next.js 취약점 발견, 해킹 공격 피해 사례, 코인 채굴 악성 코드
  • awesome, inspiration, award site 사이트
  • JS - 모바일 접속 체크
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 저장소 파일 불러올 때 권한 요청 설정
  • JS-setTimeout() , clearTimeout()
  • audio context 볼륨 조절하기
  • K2 shop Flash Update

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....