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

    `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.

    리액트에서 input 요소에 value 값을 데이터를 가져와 넣는 형식으로 구성했다면 콘솔에 아래와 같이 오류가 빨갛게 뜬다. 그래도 번들링은 이상없이 된다. 그렇지만 우리는 이 빨간색이 저주스럽지 않은가? 당연히 없애고 싶은 개발자의 마음이니까~ 이렇게 코드를 작성했는데 value에 보면 this.state.companyCode 값을 가져와 넣도록 되어 있다. 바로 이 부분이 잘못된 것이다. 없을 경우에 대해서도 처리를 해주자 value={this.state.companyCode} 를 value={this.state.companyCode […]

popular

  • react native - No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB
  • 메인 화면에 이미지가 슬라이드 되는 프로모션 만들기
  • node 버전 업 (nvm install) 이후, Command 'yarn' not found, but can be installed with 오류
  • react native - Text 컴포넌트에한 줄 내림 처리 (html의 br 태그 같은 처리)
  • js - 채널톡 삽입(커스텀 버튼, 뱃지 카운트, 서포트봇 양식 연동)
  • Angularjs – 지정 엘리먼트 안에 자기만의 함수 호출을 가진 새로운 엘리먼트 생성하기
  • ReactJs - 자동으로 프로젝트 생성/셋팅
  • 앱 디자인 영감을 얻기 위한 아이폰 앱들의 화면 캡쳐
  • xcode archive 진행 오류 : Error Finding App Store Connect Credentials
  • JSX - 엘리먼트를 단순 조건에 따른 렌더

comment

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