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 |
Tags
- Ansible
- docker
- EC2
- 2025년정책
- 행당대림아파트
- aws cli
- 명령어
- k8s
- 미아뉴타운sk북한산아파트
- 5호선
- 서버간 파일전송
- React Native
- 행당한진아파트
- ELB
- kubectl
- 6억이하아파트
- statefulset
- 황학동롯데캐슬
- 9억이하
- Configmap
- 신혼부부아파트
- 행당역
- 응봉현대아파트
- pod
- 천호태영아파트
- 옥수삼성아파트
- 답십리 파크자이
- 쿠버네티스
- 아파트
- describe-instances
Archives
- Today
- Total
목록custom hook (1)
게으름을 위한 부지런한 게으름뱅리' 블로그
React Native 하루 기록 - custom Hook
custom Hook은 "use"라는 prefix가 붙어야한다. import React, {useState} from "react"; import { TextInput, View, Button, ProgressViewIOSComponent } from "react-native"; const InputBox = (props) => { return ( ) } const useInput = (initialValue) => { const [value, setValue] = useState(initialValue); const resetValue = () => setValue(initialValue); return { value, setValue, resetValue,} } const CustomHook = ()..
IT/FrontEnd
2022. 12. 9. 22:01