Comment

Comment by embwbam

Interesting. I started with $scope.$watch(attrs.myBinding) first, and switched it to isolate scopes after doing more research.

I'd be interested to hear if someone who knows for sure could chime in as to what the best practice is and why. I can update the article to match.

parent embwbam 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton