PinnedFang JininStackademicRecursion is the architect, and iteration is just a babyI signed the book contract with my book publisher recently, so I’m actively in writing my second book Think in Recursion for programmers…5 min read·Feb 25, 2024--1--1
PinnedFang JininJavaScript in Plain EnglishConditional React Context: Treating Each Consumer DifferentlyIf you use a React context often, soon you will realize it’s a heavy operation when it’s updated. Therefore people tend to add a…6 min read·Sep 2, 2021----
PinnedFang JinTake webcam video with blurred background in MacIf you take Zoom or Teams conference call, you might have made your background either removed or blurred in the past. This feature is so…2 min read·Apr 24, 2023--1--1
PinnedFang JininJavaScript in Plain EnglishFind the Parent Element with CSSThe CSS ':has' adds a custom logic to find elements based on other selectors (instead of its own selector).3 min read·Sep 16, 2022--1--1
PinnedFang Jin“Keep” array index after filter in JavascriptES6 adds quite a bit functionalities to array with map, filter etc. They are extremely handy, but I start to have trouble keeping track of…2 min read·Dec 26, 2020----
Fang JininJavaScript in Plain EnglishPromise.all from multiple fetches with async/awaitWe use fetch to call an API and then resolve it to json, this is straightforward with await/async syntax:·3 min read·1 day ago----
Fang JininJavaScript in Plain EnglishTask, microTask and call stack …Once a year, I might have to refresh this topic, because I know I know, we suppose to know how JavaScript runs in general. But there’re…·5 min read·2 days ago----
Fang JininJavaScript in Plain EnglishBind to make a function argument readable only in JavaScriptWe all know function, when an argument is passed in, we can use it as a local variable. In the functional programming, it gets more…·3 min read·2 days ago----
Fang JininJavaScript in Plain EnglishPartial selection of a DOM tree: An interview questionThe question of selecting partial of a web page is quite practical, and it’s also quite interesting to visualize it, since it has something…·6 min read·May 9, 2024----
Fang JinClean up Login Items once a whileMy OneDrive app kept crashing, so I eventually gets fed up, and uninstalled it. But then I started to question myself why I let all these…·2 min read·May 5, 2024----