Posts
Accessing Children
January 6, 2025•3,191 words
Oftentimes, when passing children to a component, you want a way to programmatically access that passed data. Let's learn how to do that in React, Angular, and Vue.
Directives
January 6, 2025•6,451 words
If components are a way to share JS logic between multiple, composable DOM nodes; directives are a way to assign logic to any single DOM node.
Shared Component Logic
January 6, 2025•3,613 words
Components provide a great way to share layout, styling, and logic between multiple parts of your app. But what about times you only need to share logic in React, Angular, and Vue?
Dependency Injection
January 6, 2025•13,550 words
Passing around props suck. They're repetitive, get out of sync, and are easy to forget to pass. What if there was a better way to pass data between different parts of your app?
Error Handling
January 6, 2025•5,650 words
Bug are a constant in development. How can we make error handling lead to a nicer user experience when they occur in React, Angular, and Vue?
Component Reference
January 6, 2025•4,832 words
While you usually want to pass data to child components, sometimes you need to access arbitrary data from the child without needing to explicitly pass the data.