RxJS made my code 5x shorter... but is it better?

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=Sow405pYE5Q



Category:
Tutorial
Duration: 12:48
16,676 views
496


I often get comments that the reactive code I create with RxJS is overcomplicated and would be easier without RxJS. This video compares a reactive/declarative solution built with RxJS versus the same feature built imperatively without RXJS.

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: https://ionicstart.com

Reactive source code: https://github.com/joshuamorony/ionicstart-snapaday/blob/insta-story/src/app/slideshow/slideshow.component.ts
Imperative source code: https://github.com/joshuamorony/ionicstart-snapaday/blob/without-rxjs/src/app/slideshow/slideshow.component.ts

Video on pausing the stream: https://www.youtube.com/watch?v=mI8kH1_mEtw
Original video on slideshow: https://www.youtube.com/watch?v=tWy8zaWvkvk&t=0s

Video on using the expand operator: https://www.youtube.com/watch?v=aKsPMTP6-sY

0:00 Introduction
1:00 Reactive Approach
2:17 Imperative Approach
4:11 Is Reactive Better?
6:11 Bonus example

#ionic #angular

- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony







Tags:
ionic
tutorial
tutorials
ionic tutorials
ionic framework
coding
coding tutorials
angular
angular tutorials
capacitor tutorials
mobile
mobile apps
apps
html5
ios
android
native
hybrid
pwa
web apps
progressive web applications
programming
stenciljs
stencil
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture