I've been thinking this a lot recently. React is just a view library. What it means is that you give it some data, you'll get some UI. Just think of it as a math function of view. Given the same ro…
In this article, I want to talk about my learnings on building testable apps from the past few years. I've been building mostly Frontend apps using React, so I'll talk from that perspective, but it s…
The observer pattern is a software design pattern in which an object, named the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, u…
Initializing the app using suspense This trick combines dynamic import of components with initialization code to make a artificial dynamic loading of component. It can make sure the component is init…
React test util function `act` enables us to test tree rendering. This post examine how it is implemented and how it works with hooks.
A deep-dive into React scheduler. I will walk through the workings of React most fundamental building block. It will help in understanding the concepts like, concurrent rendering and performance impr…
I have written about VueJs's change detection before. Recently, I created a simplified version here. In my opinion, it's an exemplary usage of observer/observable pattern in the frontend. In this ar…