본문 바로가기

전체 글136

React js - 자식 컴포넌트에서 input 컴포넌트 사용하기 child Component input Component child Component 에서 updateState진행할때 parent에서 작성법여기서 this.state.mvalue는 child Component에서 this.props.myvalueProp로 사용가능하고this.updateState는 this.props.updateStateProp으로 사용할 수 있다. 오늘 진행한 코드 ​ximport React, {Component} from 'react';import ReactDOM from 'react-dom';import './App.css';​class App extends Component {​ constructor() { super(); this.state = { sentence: "", nu.. 2019. 1. 10.
React.js state, props관련 this.state.map xxxxxxxxxxthis.state = { data: [ {"name": "A", "pw": "p1"}, {"name": "B", "pw": "p2"} ]}​​render() { return( {this.state.data.map((person, i) => )} )}​........​​class TableRow extends React.Component { render() { return ( {this.props.data.name} {this.props.data.pw} ) }} this.state.data.map( (person, i) => 리턴내용 )여기서 person은 맵핑할때 각 튜플(더 적합한 용어를 모르겠다)을 나타내고i는 child 컴포넌트에 identity를 부여.. 2019. 1. 4.
2019년 2월까지의 목표 -2월까지 진행- 메인 프로젝트 : React js & React Native => 훕포메이션(가칭) 어플리케이션 - 학교공식앱 대용 어플리케이션 서브 : Google Assistant - 훕포메이션 | 훕포메이션 카카오i 업데이트 목표 : Google Assistant 개발자 커뮤니티 가입조건 달성 | 2월 안에 위 프로젝트 3개 모두 완성새로운 목표 : 훕포메이션 그만 개발하기 2019. 1. 2.
데이터 분석 도전하기 - 4 Pandas Grouping 기준에 따른 여러 그룹으로 데이터 분할(splitting) 각 그룹에 독립적으로 함수 적용(applying) 결과물들을 하나의 데이터 구조로 결합(combining) ​ 0 foo one -0.759985 -0.830048 1 bar one -0.361017 1.040381 2 foo two 0.927589 -0.976534 3 bar three -0.255237 -1.149321 4 foo two 0.535983 1.545994 5 bar two -0.865925 0.306166 6 foo one -0.995362 -1.492863 7 foo three 1.256075 -0.243938 A를 기준으로 합을 구해본다. df.groupby('A').sum() ​ 아래와 같은 결.. 2018. 12. 26.
- 카카오i 플러스친구 skill 튜토리얼 준비중 - i.kakao.com 카카오i 플러스친구 Skill 용 서버 튜토리얼 준비중 예상업로드일자 1월초 --2월27일-- 하지만 올리지 못했다.. 2018. 12. 6.
반응형