Posts
About time - how to unit test code that depends on time
December 19, 2023•849 words
Suppose that the logic of your program depends on time. That is, you need to keep track of when something in the past happened, and what time it is...
What is React Suspense and Async Rendering?
December 18, 2023•1,425 words
Handling async code in React code has historically been fairly challenging to get right. Let's see how React's official solutions for promises stack up!
Explaining React's cache Function
December 17, 2023•1,499 words
React's dipping its toes into data fetching! With this comes a big requirement to cache the results of a given function. Luckily, React's done that. Let's see how.
What is Reconciliation and the Virtual DOM (VDOM)?
December 15, 2023•911 words
How does React handle update the DOM? The answer? "The Virtual DOM and reconciliation." Let's explore what these are and how you can leverage them the best.
What is Reactivity?
December 14, 2023•1,223 words
When researching frontend frameworks, you're likely to hear about "reactivity". But what is it? Why does it matter? Let's explore this and more in this article.
When private member function?
December 12, 2023•412 words
I've seen this a few times too many recently, and need to get it off my chest. Ponder a class that has a private member function. The function does...