Posts
Angular Dynamic host Property Usage
December 28, 2023•819 words
In directives and components alike, it can be a pain to add attributes and bindings to the host element. Instead of using DI to change the host, try this instead.
Angular's Templates Don't Work the Way You Think They Do
December 27, 2023•627 words
Angular templates are mission-critial for components. But how do they work? Using a compiler, yes, but how do they bind to the DOM itself? Read on to find out.
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.
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.