일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 발로란트 api dart
- generate parentheses dart
- 롤토체스 api dart
- dart new
- swift concurrency
- flutter ios 폴더
- dart new 키워드
- lol api dart
- dart.dev
- dart
- flutter widget
- valorant api dart
- keychain error
- Architectural overview
- flutter bloc
- AnimationController
- leetcode dart
- riot api dart
- 파이썬 부동소수점
- flutter statefulwidget
- 롤 api dart
- com.google.GIDSignIn
- widget
- flutter
- PlatformException(sign_in_failed
- swift 동시성
- tft api dart
- 파이썬
- flutter android 폴더
- docker overview
- Today
- Total
aspe
Sub you 개발기 6 & Ollim 프로젝트 시작 본문
1. p tag 개행 표시 방법
2. 작가들을 위한 포트폴리오 관리, 커뮤니티 시스템 프로젝트 Ollim 시작
3. useCallback을 사용해야할 때
But in some cases you need to maintain a single function instance between renderings:
- A functional component wrapped inside React.memo() accepts a function object prop
- When the function object is a dependency to other hooks, e.g. useEffect(..., [callback])
- When the function has some internal state, e.g. when the function is debounced or throttled
Don't forget that useCallback() hook is called every time MyComponent renders. Even useCallback() returning the same function object, still, the inline function is re-created on every re-rendering (useCallback() just skips it).
함수가 다루는 것이 간단하다면 쓸필요가 없다.
4. LocalStroage vs LocalForage
LocalStorage API is synchronous and accepts simple key value strings.
LocalForage leverage this simple interface with Promises to get/set values and gives the ability to store more than converted strings as data.
If you are familiar with the logic of LocalStorage and you are experimenting with something new I suggest you give it a try.
Reference: http://blog.teamtreehouse.com/using-localforage-offline-data-storage
'Web > Project - Sub you' 카테고리의 다른 글
Sub you 개발기 5 (0) | 2022.02.03 |
---|---|
Sub you 개발기 4 (0) | 2022.01.26 |
Sub you 개발기 3 (0) | 2022.01.23 |
Sub You 개발기 2 (0) | 2022.01.21 |
Sub you 개발기 - 1 (0) | 2022.01.11 |