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…Feb 252Feb 252
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…Sep 2, 2021Sep 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…Apr 24, 20231Apr 24, 20231
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).Sep 16, 20221Sep 16, 20221
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…Dec 26, 2020Dec 26, 2020
Fang JinWhat do you need to write a book?Writing a book is not as easy as it sounds, but also isn’t that hard once you get to know what things you need to gather or prepare. Since…Jun 13Jun 13
Fang JinUse a web page/service as an stand-alone applicationI use Google chrome all the time, most of time I pin the browser tab to the left so that I can have most of the common services that I need…Jun 6Jun 6
Fang JinuseMemo is an assignment statementToday I’m reviewing the React hooks, and I actually happen to write a book called “Designing React Hook” if you are interested. And I went…May 28May 28
Fang JinCan you be a pure programmer after you get over 50 years old?I’m approaching 50 so I start to have stronger doubts that I might not be able to keep as a programmer in the long run. Especially…May 22May 22
Fang JininJavaScript in Plain EnglishMergeSort is a depth-first postorder traversalWriting algorithm with recursion knowledge can come quite handy, because it allows you focus on each mini-problem that you’d like to solve…May 21May 21