Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Android
- node.js
- angular
- ios
- nextjs
- hybrid
- 안드로이드
- S3
- 감사일기
- TypeScript
- beanstalk
- 웹뷰
- 네이티브
- 카카오톡
- Route53
- cors
- node
- 도메인
- swift
- react
- Elastic Beanstalk
- NeXT
- fanzeel
- JavaScript
- angular4
- php
- 알려줌
- 페이스북
- AWS
- https
Archives
- Today
- Total
목록Component (1)
쪼렙 as! 풀스택
React - 자식 Component 객체에 접근하기!
import { Component } from 'react'; class Child extends Component { constructor(props) { super(props) if(props.onParentRef) { props.onParentRef(this); } } blahblah = () => { console.log("BlahBlah~"); } render() { return ( 여기는 Child 컴포넌트. ); }} class Parent extends Component { constructor(props) { super(props) this.childComponent; } callChildMethod = () => { this.childComponent.blahblah() } render..
개발 일지/Web & Server
2018. 8. 22. 15:51