본문 바로가기

타닥타닥 개발자의 일상

검색하기
타닥타닥 개발자의 일상
프로필사진 NomadHaven

  • 분류 전체보기 (169)
    • 코딩 기록 (150)
      • Html (0)
      • Java (36)
      • JavaScript (26)
      • Information (1)
      • J-Query (1)
      • Oracle(SQL develpoer) (6)
      • Spring (5)
      • Kotlin (41)
      • SpringBoot (4)
      • react (21)
      • 유용한 IT 팁 (5)
      • linux (4)
    • 동기 부여 (0)
    • 코중 일기 (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • 안드로이드
  • fragment
  • Kotlin
  • 구글맵스
  • 오버라이딩
  • stylesheet
  • Hook
  • scrollview
  • Java
  • array
  • Linux
  • TypeScript
  • JS
  • Android
  • button
  • 랜덤넘버
  • TextView
  • npm
  • JavaScript
  • React
  • GoogleMaps
  • Javscript
  • 스프링부트
  • nodejs
  • 리액트
  • RecyclerView
  • 랜덤번호
  • 자바스크립트
  • SpringBoot
  • 코틀린
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록시간 (1)

타닥타닥 개발자의 일상

react 현재시간 화면에 나타나고 초마다 갱신되게하기 / typescript 시계 만들기

실행문 npx react-native init sample21 --template react-native-template-typescript App.tsx import React, { useEffect, useState } from "react"; import { StyleSheet, Text, View } from "react-native"; export default function App(){ return( ) } const Clock =() =>{ const [date, setDate] = useState(()=> new Date()) useEffect(()=>{ const timeId = setInterval(()=>tick(),1000) console.log('setInteval') retur..

코딩 기록/react 2022. 3. 8. 23:49
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바