I'm setting a local storage variable by toggling a button. The subscribe is working as expected in the component it's being triggered from, but fires only the first time in the directive, subsequent changes are not picked up.
I feel like this might be an Angular thing, or how I've architected it, but just wondering if subscribing in directives is a known issue.
I'm setting a local storage variable by toggling a button. The subscribe is working as expected in the component it's being triggered from, but fires only the first time in the directive, subsequent changes are not picked up.
I feel like this might be an Angular thing, or how I've architected it, but just wondering if subscribing in directives is a known issue.