Sitemap
Jan 11, 2022

Hello Vladimir,

Glad it helped!

I think your example is fine; there's no reason this would be any slower. As far as I can see, you're just injecting a service, and associating the Observable returned by your load$() function to a variable in your controller.

In practice this does nothing. I imagine that you actually subscribe to that observable either in the controller or (ideally) in the template, and that's great!

Sébastien Dubois
Sébastien Dubois

Written by Sébastien Dubois

Leading the movement to transform mental chaos into clarity, helping knowledge workers break free from information overload. 💌 https://dsebastien.net

Responses (1)