Edvard ChenExploring Asynchronousness in ReactThe complete time of the async function is unpredicted which makes it more challenging to handle than the sync functionOct 11, 2023Oct 11, 2023
Edvard ChenHow to fix that React Hook has missing dependenciesProvided that we want to implement a countdown timer, the first version would look like:Aug 5, 2023Aug 5, 2023
Edvard ChenLearn Rust from JavaScript — debugging in VSCode on macOSHere is my personal hands-on experience in debugging Rust.Dec 12, 2022Dec 12, 2022
Edvard ChenLearn Rust from JavaScript — TraitRust doesn’t have class and trait is the most ubiquitous way to define shared behaviorsDec 8, 2022Dec 8, 2022
Edvard ChenRust narrows down our everyday API setAside from being a language that emphasizes memory security extremely, Rust is surprisingly more expressive than people expected.Nov 30, 20221Nov 30, 20221
Edvard ChenLearn Rust from JavaScript — None or NullSince Rust doesn’t have null, people have to wrap the concept in Option and handle them explicitly. It's quite strange for people coming…Nov 26, 2022Nov 26, 2022
Edvard ChenLearn Rust from JavaScript — ToolsAs more and more JavaScript tools are being written in Rust (and golang), I’m curious how they make things better and what’s the magic…Nov 19, 2022Nov 19, 2022
Edvard ChenGet rid of Redux Provider with useSyncExternalStoreThe first time I saw zustand, I wondered why it doesn’t need to inject a Provider at the top of React tree. After I dug a little deep, I…Nov 16, 2022Nov 16, 2022
Edvard ChenTemplate literals come in handy for code generationRecently I found that JavaScript template strings are very helpful for usages like code generationAug 14, 2022Aug 14, 2022