Homepage
Open in app
Sign in
Get started
Hannah Lin
來自台灣的矽谷軟體工程師女孩
Life in the U.S.
React / JS /TS
Unit & E2E Testing
Cyber security
Interview
前端工程師用 js 學演算法
Follow
Latest
Trending
Hannah Lin
in
Hannah Lin
Sep 15
React.memo 沒有你想得這麼簡單
(with useMemo/useCallback)
雖然
React.memo
可以避免不必要 re-render ,但
必須確保所有 props 都是
…
Read more…
21
Hannah Lin
in
Hannah Lin
Sep 13
useMemo, useCallback 是效能救星還是災星?
useMemo, useCallback only for re-render,不正確的使用反而讓效能大打折扣
Read more…
119
Hannah Lin
in
Hannah Lin
Aug 25
Deep dive React re-render
React 從呼叫 setState 到畫面改變,中間發生了什麼事?
Deep dive React re-render系列文
Read more…
23
Hannah Lin
in
Hannah Lin
Aug 15
[演算法筆記] Recursion
Where recursion shines is when you use it to break down a problem into
…
Read more…
12
Hannah Lin
in
Hannah Lin
Aug 4
[資料結構筆記] Hashing
Hash maps and sets
演算法系列文
[Array & String]
-
Sliding window
-
Two…
Read more…
1
Hannah Lin
in
Hannah Lin
Aug 1
[演算法筆記] Two Pointer & Prefix sum
Start the pointers L=0,R=input.length — 1at the edges of the input…
Read more…
8
Hannah Lin
in
Hannah Lin
Jul 29
[演算法筆記] Sliding window
資料內有一個滿足特定條件長度的窗口 (make a subarray “valid”),可以藉由滑動此窗口來取得想要的資料
Read more…
16
Hannah Lin
in
Hannah Lin
Jul 16
React Reconciliation
一個找出新舊 Virtual DOM Tree 差異的演算法,來決定畫面要如何更新
Deep dive React re-render系列文
Read more…
53
Hannah Lin
in
Hannah Lin
Apr 28
[面試] 中英對照之 TS 面試題
什麼是 TS?、 TS 優缺點、Type 跟 Interface 差別、Generics 是啥、any/unknown/never/undefined 差別…
Read more…
64
1 response
Hannah Lin
in
Hannah Lin
Mar 25
錯誤處理 Error Handling in JS
try…catch 只是第一步
Read more…
98
About
Hannah Lin
Love coding ❤
More information
Followers
1K
Elsewhere