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

  • lightsail ssl 인증서 갱신 + 자동 갱신 (bncert-tool 무료 ssl)
  • Php - 셀렉트 옵션에 기본값 설정
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
  • 동영상 스트리밍 서비스 구축 (AWS s3/cloudFront, HLS, video.js)
  • aws Cannot exceed quota for PoliciesPerRole: 10
  • JS-setTimeout() , clearTimeout()
  • Mobis Phoebus site renewal
  • CTO로 선임된 지 2년 6개월
  • JS-현재 위치(지오로케이션) 구글맵 api 에 표시

comment

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