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
- TextView
- 자바스크립트
- JavaScript
- scrollview
- 랜덤넘버
- stylesheet
- JS
- 랜덤번호
- SpringBoot
- nodejs
- GoogleMaps
- Android
- 코틀린
- Hook
- TypeScript
- 안드로이드
- fragment
- React
- 오버라이딩
- array
- 구글맵스
- Linux
- Java
- RecyclerView
- Javscript
- 스프링부트
- Kotlin
- npm
- button
- 리액트
Archives
- Today
- Total
목록useCallback (1)
타닥타닥 개발자의 일상
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ypb4A/btrvrBb7Nj1/x2I9O51zm1UbBdVx3FkTH1/img.jpg)
실행구문 npx react-native init sample22 --template react-native-template-typescript App.tsx import React, { useMemo, useState } from "react"; import { Button, Text, View } from "react-native"; /* useMemo: 연산된 값을 렌더링시에 재사용할때 사용된다 useMeMo(func,검사할 배열 ) */ function square(params:any){ const testData = [Array(10).keys] testData.forEach(()=>{ console.log(`계산중.. 루프처리 ${testData.length}회 실행중..`) }) return ..
코딩 기록/react
2022. 3. 8. 23:59