The content discusses a problem with resetting and syncing cascading dropdowns in Angular, where changing a root dropdown unintentionally resets a third dropdown. The solution involved moving the reset logic to the linkedSignal, illustrated through a flowchart and decision tree outlining various signal handling strategies in React.
Category: Opinions
These are my general thought blogs, People Might have different views but I can only share mine
Imagine we have directive that customizes the checkbox color and interaction. We want to make our checkbox checked base on certain condition. But line 5, the highlighted one will throw following error. What really happens is that Angular thinks we are binding directive on some host elements (container etc) that doesn’t have checked property. Angular […]
Well usually you would use role attributes or aria-label or aria-labelled-by to add the accessibility heuristics. But in the case of table, you don’t need to add any thing extra to make the HTML Table accessible. Just using correct element syntax is enough. What it has to do with testing, well those can easily by […]
I need to fetch some posts. We will use the httpResource. HttpClient returned observables but this one is reactive wrapper around HttpClient. The response we get is a signal. We can render the content in template as {{ content.value() }} But there is new inquiry. We need filter by specific user, No problem we can […]
