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
- JavaScript
- nodejs
- Hook
- Kotlin
- npm
- TextView
- React
- SpringBoot
- fragment
- GoogleMaps
- 스프링부트
- Android
- 안드로이드
- scrollview
- TypeScript
- Linux
- RecyclerView
- 리액트
- 구글맵스
- 랜덤넘버
- button
- 랜덤번호
- 자바스크립트
- 오버라이딩
- stylesheet
- JS
- array
- Java
- 코틀린
- Javscript
Archives
- Today
- Total
목록useEffect (1)
타닥타닥 개발자의 일상
react / useEffect 써서 버튼 누를때 특정 텍스트 화면에 보이게 하기 / typescript
실행문 npx react-native init sample20 --template react-native-template-typescript App.tsx import React, { useEffect, useState } from "react"; import { Button, Text, View } from "react-native"; /* useEffect: 컴퍼넌트가 rendering 될때마다 특정 작업을 실행할 수 있도록 하는 hook compoentDidMount + componentDidUpdate + componentWillUnmount */ function Welcome(props:any) { console.log('start') useEffect(()=>{ //==$(document)...
코딩 기록/react
2022. 3. 8. 23:38