I was using AngularJS a lot and I often read "don't over use $rootScope, it's bad practice".
Then, when React came up with the Flux pattern there was one central place for all data, which remembered me on $rootScope.
If I would use the $rootScope object as the single source of truth, what would be the difference to other approaches like Flux?
I mean, you could also just use $rootScope to organize the data, like for example $rootScope.loggedInUser, $rootScope.userList and so on. And you could make a service where all $rootScope changes will be made, so that you know where to look, when something happens.
Would be nice if someone could explain why this wouldn't be a good idea (or telling me, that it's basically okay. Im open) :)
Edit: Related question doesn't answer the question about the difference of $rootScope and Flux pattern.