Posts
What is React's useActionState and useFormStatus?
December 20, 2023•1,469 words
React Server Actions are an awesome way to pass data to and from your React client and server. Like all functions, they need a way to return data.
What are React Server Actions?
December 19, 2023•1,917 words
While React Suspense APIs enable you to load data asynchronously from the server, Server Actions allow you to send data to the server from the client.
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...
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 are React Server Components (RSCs)?
December 16, 2023•890 words
React Server Components have been a topic of regular discussion in the WebDev space as-of late. What are they? How do they improve the SSR story for React? Let's take a look.
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.