--

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

PKM Systems Architect Helping Knowledge Workers save 10+ hours/week 1K+ Happy customers ❤️ 🚀 https://developassion.gumroad.com 💌 https://dSebastien.net

Responses (1)