I'm a JS Subject Matter Expert (SME) that has spent the past few years spearheading curricula and teaching initiatives at colleges and bootcamps, in person and virtually.
Many tuts only teach the pull approach, using Observable. I just started using BehaviorSubects and am wondering why it's not mentioned more.
I'm glad to see some reassurance here that I am not just doing things in a 'weird' way.
I'm wondering if there are any practical use cases where Observable and pull approach is better.
I am a young full stack web developer at exb and mainly working with Angular.
In my free time I love making music and enjoy doing all sorts of craftsmanship.
I guess the "pull" approch is easier to understand and is therefore teached first, but the more experience you gain the more upsides of the "push" approch you will find.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Many tuts only teach the pull approach, using
Observable
. I just started usingBehaviorSubect
s and am wondering why it's not mentioned more.I'm glad to see some reassurance here that I am not just doing things in a 'weird' way.
I'm wondering if there are any practical use cases where
Observable
and pull approach is better.I guess the "pull" approch is easier to understand and is therefore teached first, but the more experience you gain the more upsides of the "push" approch you will find.