Edvard ChenExploring Asynchronousness in ReactThe complete time of the async function is unpredicted which makes it more challenging to handle than the sync function5 min read·Oct 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:3 min read·Aug 5, 2023----
Edvard ChenLearn Rust from JavaScript — debugging in VSCode on macOSHere is my personal hands-on experience in debugging Rust.2 min read·Dec 12, 2022----
Edvard ChenLearn Rust from JavaScript — TraitRust doesn’t have class and trait is the most ubiquitous way to define shared behaviors1 min read·Dec 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.2 min read·Nov 30, 2022--1--1
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…2 min read·Nov 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…1 min read·Nov 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…3 min read·Nov 16, 2022----
Edvard ChenTemplate literals come in handy for code generationRecently I found that JavaScript template strings are very helpful for usages like code generation3 min read·Aug 14, 2022----
Edvard Chen3 dimensions to test React codeWe can test our React code through 3 dimensions2 min read·Jul 21, 2022----