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
useMemo, useCallback 是效能救星還是災星?
useMemo, useCallback 是效能救星還是災星?
useMemo, useCallback only for re-render,不正確的使用反而讓效能大打折扣
Hannah Lin
Sep 13
Deep dive React re-render
Deep dive React re-render
React 從呼叫 setState 到畫面改變,中間發生了什麼事?
Hannah Lin
Aug 25
[演算法筆記] Recursion
[演算法筆記] Recursion
Where recursion shines is when you use it to break down a problem into “subproblems”, whose solutions can then be combined to solve the…
Hannah Lin
Aug 15
[資料結構筆記] Hashing
[資料結構筆記] Hashing
Hash maps and sets
Hannah Lin
Aug 4
[演算法筆記] Two Pointer & Prefix sum
[演算法筆記] Two Pointer & Prefix sum
Start the pointers L=0,R=input.length — 1at the edges of the input. Move them towards each other until they meet.
Hannah Lin
Aug 1
[演算法筆記] Sliding window
[演算法筆記] Sliding window
資料內有一個滿足特定條件長度的窗口 (make a subarray “valid”),可以藉由滑動此窗口來取得想要的資料
Hannah Lin
Jul 29
React Reconciliation
React Reconciliation
一個找出新舊 Virtual DOM Tree 差異的演算法,來決定畫面要如何更新
Hannah Lin
Jul 16
[面試] 中英對照之 TS 面試題
[面試] 中英對照之 TS 面試題
什麼是 TS?、 TS 優缺點、Type 跟 Interface 差別、Generics 是啥、any/unknown/never/undefined 差別…
Hannah Lin
Apr 28
錯誤處理 Error Handling in JS
錯誤處理 Error Handling in JS
try…catch 只是第一步
Hannah Lin
Mar 25
[TypeScript] 用生活例子圖解 Utility Types
[TypeScript] 用生活例子圖解 Utility Types
用生活例子日圖解五大類: Object Type 、 Union Type、 Function Type、Promise 所對應的 Utility Types
Hannah Lin
Jan 30
About Hannah Lin
Latest Stories
Archive
About Medium
Terms
Privacy
Teams