RxJS Top Ten - Code This, Not That

  Рет қаралды 257,070

Fireship

Fireship

Күн бұрын

Пікірлер: 298
@Fireship
@Fireship 5 жыл бұрын
RxJS has really helped me level-up as a JS dev, but I always feel like there's more to learn. BTW, I used zero-config webpack and plain JS to run the code. Source code is in the video description.
@MK-sh1sm
@MK-sh1sm 5 жыл бұрын
Thanks for the video. It is an excellent summary. Do you think you can also cover how to write tree-shakeable packages?
@MarcoSync
@MarcoSync 5 жыл бұрын
I really want to see RxJS in depth using Angular and Firebase! Maybe a new course? #Go🔥🚀 🤓
@aidemalo
@aidemalo 4 жыл бұрын
pipe(share()) description messed up i think, if you will use interval() for example, both subscribers will get the value, without need of shareReplay() 5:34
@troythompson2
@troythompson2 5 жыл бұрын
Been working with RXJS for years. This video just covered hundreds of pages of documentation. Thanks Jeff!
@Fireship
@Fireship 5 жыл бұрын
Haha, does documentation even exist? I always use 3rd party resources for RxJS.
@pedrob.lescanopasquet8460
@pedrob.lescanopasquet8460 5 жыл бұрын
I was thinking all the video the same thing
@DavidSmith-ef4eh
@DavidSmith-ef4eh 5 жыл бұрын
I guess I am lucky that I've watched this video before reading the documentation...
@ultimatesheep
@ultimatesheep 3 жыл бұрын
His name is jeff?
@joopie46614
@joopie46614 2 жыл бұрын
that library is so useless it's just for lazy people
@majid70111
@majid70111 5 жыл бұрын
If there would be a nobel prize for teaching dev stuff in an easy way this guy should get it! Thanks jeff :)
@realchrishawkes
@realchrishawkes 5 жыл бұрын
This is awesome, thank you for sharing!
@patrickmullot73
@patrickmullot73 5 жыл бұрын
Easy peasy! I love RxJS, so powerful! You can do really amazing stuff with it, but the most interesting part is the intellectual challenge it puts you through!
@Fireship
@Fireship 5 жыл бұрын
Totally, RxJS and TS are two tools that have really helped me level-up as a JS developer in recent years.
@swaminathbera6407
@swaminathbera6407 3 жыл бұрын
@Fireship can you make a video on learning path , or how to read docs. I'm stuck at reading docs, because I can't understand the complex syntax writing
@swaminathbera6407
@swaminathbera6407 3 жыл бұрын
Or How to traverse through docs
@deyanshotev3137
@deyanshotev3137 4 жыл бұрын
I've never learned so many things for 15 mins in my development carrier. Insane! Thank you!
@SondreSrbye
@SondreSrbye 5 жыл бұрын
I didn't fully understand RxJS before this. Thx a lot
@thatryanp
@thatryanp Ай бұрын
Same! And I've built systems with it before.
@GabrielLima-og5qd
@GabrielLima-og5qd 5 жыл бұрын
The best video about RxJs on KZbin. People need to understand that this is not for beginners and if you read RxJs documentation and understand the minimal you'll see why this video is so good. To the author (don't know your name): keep doing amazing videos like this, well edited, in a great pace and straight to the point like you're doing. We need more channels like yours in KZbin.
@alexkrauchi9535
@alexkrauchi9535 5 жыл бұрын
It is insane how much you're able to break down complex topics to the essentials. Awesome, thx!
@NavedRasul
@NavedRasul 5 жыл бұрын
I find Fireship tutorials to be intuitively graspable. This one is, in particular, very well formed and effectively elaborated. Well done guys! 👍
@g-luu
@g-luu 5 жыл бұрын
i've been working with Rx for sometime now and i have to admit that plumber example was GOLD, it all makes sense now. Thank you.
@Fireship
@Fireship 5 жыл бұрын
WINNER! You won the T-shirt, send me a direct message with your mailing address and size :)
@ImperiumLibertas
@ImperiumLibertas 5 жыл бұрын
Jeff back at it again with the amazing tutorials! You have answered so many of my questions. I am always sure to share your videos with my co-workers. You have a gift for demonstrating complex concepts in bite sized clips..
@Fireship
@Fireship 5 жыл бұрын
Thank you! This one was really difficult to keep short and only covered a small fraction of the available Rx operators.
@ImperiumLibertas
@ImperiumLibertas 5 жыл бұрын
When you have people calling rxjs easy, you know you've done right.
@rezaasgary1442
@rezaasgary1442 3 жыл бұрын
the best thing about your videoes is how fast you teach the subjects no boring amazing speed talk
@georgiyzhuravlev9350
@georgiyzhuravlev9350 5 жыл бұрын
Great video, thanks! There are tons of RxJS operators out there and some of them (besides most commonly used shown in this video) are still confusing. Or maybe unnecessary (which is not very likely :) Very interesting topic, please go on!
@bennakaska7472
@bennakaska7472 5 жыл бұрын
Excellent way to simply the complex with examples on when developers may want to use different parts of rxjs
@Fireship
@Fireship 5 жыл бұрын
Thank you Ben!
@WolfrostWasTaken
@WolfrostWasTaken 5 жыл бұрын
Hours and hours spent on the RxJS docs and I realize that I could have just waited for this video! ahah :D Please keep up the good work
@dominikseljan3043
@dominikseljan3043 5 жыл бұрын
Great video Jeff! I hope you make more of them for RxJS .
@ikezedev
@ikezedev 5 жыл бұрын
This is so cool..... I can understand cos I once set out a day to try my hands at all Rxjs operators, this video just saves you months of stress. Thanks Jeff
@NAMBINRAJAN
@NAMBINRAJAN 5 жыл бұрын
One of the ever best channel i think, will help my js career forward. Though i had to watch any of video twice..... My search starts from your videos.... Stay blessed 🙏..expecting more such pratical videos..
@diabolo1
@diabolo1 5 жыл бұрын
Thanks for keeping up with the videos! Your reviews help me keeping up to date!
@eddiejaoude
@eddiejaoude 5 жыл бұрын
More RxJS please! Its so powerful but can be tricky. Multiple http requests and joining data if relational. Thank you
@bradleytaniguchi1187
@bradleytaniguchi1187 5 жыл бұрын
I think I learned more watching this video than reading docs all over the internet on RXJS! Great vid!
@julienconnault1612
@julienconnault1612 3 жыл бұрын
You're the only coding tutorial channel that I put on .75x rather than 1.5x
@zepipoco
@zepipoco 5 жыл бұрын
Nice! You really nailed this one Jeff! You just took knowledge that took me months into a 15 min vídeo! Can't wait to see a more advanced followup!
@narcodico
@narcodico 5 жыл бұрын
You've pretty much covered the basics of rxjs. For newcomers to rx some more details regarding why only the first subscription emits when using share() and why not the second sub also, would have been welcomed I guess :) I would personally love to see this very same approach but for rxdart. Maybe have this series go toe by toe with a dart version. You could also create some rx videos that go in depth on related operators (eg: switchMap, mergeMap, concatMap and exhaustMap) with similarities and differences between them. This might save a lot of people from misusing switchMap since it can cause some really bad side effects if not properly used. I think an advanced video on hot observables would be cool to see, especially for dart where things are different from js, especially when it comes to hot vs cold stream.
@Fireship
@Fireship 5 жыл бұрын
Great points, I would consider creating a full Rx course if people request it. There are a lot of subtle gotchas. I do plan on making a detailed video covering Dart streams + RxDart in the future :)
@oksanaserhiivna2634
@oksanaserhiivna2634 5 жыл бұрын
Another nice thing is that along with providing really useful and serious information, you make one smile due to those amusing video 'injections'. :) Thanks for both benefits. :)
@TwoTeaTee
@TwoTeaTee 3 жыл бұрын
Apart from sheer knowledge, the video are also soothing to watch!
@augustineri93
@augustineri93 5 жыл бұрын
This is the first video I have seen on your channel and man you have cleared up a lot about RxJS. This is awesome... definitely subscribing and keep it up
@mittalsmiti
@mittalsmiti 4 жыл бұрын
It is the best video on RxJs I have come across so far! Very well explained and to the point
@BraxtonDiggs
@BraxtonDiggs 5 жыл бұрын
amazing work! Been using rxjs and didn't fully grasp what I was doing until this video
@venkyakshaya
@venkyakshaya 4 жыл бұрын
Wondering why I didn't find this channel sooner. Thank you Jeff!
@AlessandroTaricani
@AlessandroTaricani 5 жыл бұрын
Finally a clean and good explanation about RxJS, i'm using it on Angular and i love it! On thing could be useful for developers that come (like me) from Promises.. a video with the differences and when use one instead of the other.
@mawulijo
@mawulijo 5 жыл бұрын
Before I watch. I wanna say I'm glad rxjs is covered in this series. I just get confused at the numerous examples out there. Moment of truth.
@Fireship
@Fireship 5 жыл бұрын
Yes, I could probably make a sequel to this one. RxJS is complex library.
@ritesisright
@ritesisright 3 жыл бұрын
I will need to watch this TEN times 😀.
@lokeshsaini7377
@lokeshsaini7377 5 жыл бұрын
Thanks for the video. You always made the video on topic that I want. I am not so good in JavaScript, Angular but your videos helping me a lot to improve my knowledge. Again thanks for all videos.
@lukemorrison8719
@lukemorrison8719 4 жыл бұрын
Very elegant. Loved the piper theory. Sounded a bit rushed but otherwise very informative and succinct. Well done!
@happynewyearw
@happynewyearw 5 жыл бұрын
Awesome quality again! Thank you! Hope to see some future video on rxdart + firestore flutter examples with all the useful rx operators. I actually very need to mobile dev and programming as whole, and I've been searching for the best way to sync app's data that store on firestore to local storage, my current idea is to use a RxVMS architecture with a manager using rx to catch any update on firestore and 1. check/update the local copy of data. 2. Provide stream to the streambuilder in the view. still working on it! :P
@divinedela9125
@divinedela9125 5 жыл бұрын
Callback Hell Animation 0:45 ...I love it
@ashdebash2008
@ashdebash2008 3 жыл бұрын
What a great video, I couldn't get a proper grasp on the Observable pattern until i saw this. Many thanks.
@dallinparker2387
@dallinparker2387 5 жыл бұрын
Thank you for the amount of content you put out, the quality of that content, and sharing your knowledge.
@puriajahanbani6636
@puriajahanbani6636 2 жыл бұрын
Thanks a lot for making this video. I don't know how you described everything so easily and simple.
@AxelRock
@AxelRock 5 жыл бұрын
Thank you ! I used for a while, but didn't quite get the nuances between some of these operators. It was super useful.
@harpymaslow
@harpymaslow 5 жыл бұрын
Best explanation of RxJS. You rock ! Thx Jeff
@oislek34
@oislek34 Жыл бұрын
good reasoning between episodes, but you need to split the screen so it updates instantly. and your print method output is funny af. thanks.
@k1ngjulien_
@k1ngjulien_ 5 жыл бұрын
Oh my God! 10:57 I've been doing this and I absolutely hate it! I KNEW there had to be a better way to do this. Thanks for making this Video!
@Fireship
@Fireship 5 жыл бұрын
Very common, switchMap will change your life.
@k1ngjulien_
@k1ngjulien_ 5 жыл бұрын
@@Fireship Yes, I'll try it out as soon as I can 👍👍
@noext7001
@noext7001 5 жыл бұрын
@@Fireship , i don't understand why switchMap is better than the nested subscription, its still a nested action , the code is not shorter or anything like that
@olivereisenbarth5476
@olivereisenbarth5476 5 жыл бұрын
@@noext7001 Switchmap unsubscribes before subscribing to a new (outer) observable. Watch kzbin.info/www/bejne/qIa9anagmMZ2e9k
@pax4698
@pax4698 5 жыл бұрын
Huuugely helpful. Thank you very much! Please consider making more more videos on RxJS.
@JonWood
@JonWood 5 жыл бұрын
This is the most useful video on RxJS I've ever seen! Thanks for making this!
@javascript_developer
@javascript_developer 4 жыл бұрын
thanks for the awesome video. commenting before watching. because i really trust your "code this not that" related videos. keep doing it. thanks :)
@hos7012
@hos7012 3 жыл бұрын
This channel is magic i get addicted to it, could i ask the author which do u prefer React native vs flutter?
@misterkevin_rs4401
@misterkevin_rs4401 5 жыл бұрын
I Really love RxJS, been learning and getting better every year!
@heavestern
@heavestern 4 жыл бұрын
10:57 best way wold be concatmap , because u wouldnt need to leave and subscribe but in pipe u can add multiple concatmaps. Last one u can use take(1) too ,u are not limited with only those 2 options
@pluscday2
@pluscday2 3 жыл бұрын
Awesome video for Rxjs. I watched for 3 times. great thanks Jeff!!!
@ang3loux
@ang3loux 3 жыл бұрын
OMFG! You guys are amazing. Thx for sharing this 🚀
@amirhoseinfarhadi2268
@amirhoseinfarhadi2268 4 жыл бұрын
It was so good im already waiting for the next one
@Blixzful
@Blixzful 5 жыл бұрын
Very nice as usual. I've become a big fan of RxJs in Angular too, can you do some more protips on that topic? Http req's, Auth, Data state management etc. :) thnx Jeff
@riddheshganatra2223
@riddheshganatra2223 5 жыл бұрын
Rxjs is superb and you help us understand better!!!
@EduardKaresli
@EduardKaresli 5 жыл бұрын
Watching this video at work... man it's so dense I'll have to rewatch at home at 0.75 the speed... but very nice, thanks a lot!
@vamidicreations
@vamidicreations 4 жыл бұрын
Jeff amazing stuff man this helped me out alot. It showed me ways to solve problems easier with RxJS.
@FreshMattizl
@FreshMattizl 5 жыл бұрын
Man thank you for those videos! I couldn't wrap my head around RxJS, but this helped a lot. Had to set speed to 0.75 as english is not my first language though lol
@duncan-dean
@duncan-dean 5 жыл бұрын
Thanks for this! Was really waiting for one on RxJS!
@idemchenko-js
@idemchenko-js 4 жыл бұрын
Love the video! But I guess, the most interesting part happens in the languages that support multithreded execution, like in the case of Java with RxJava. Think about reading multiple files and processing them in parallel using such a neat API.
@x-lightsfs5681
@x-lightsfs5681 5 жыл бұрын
Why didnt i get notified about this? I saw it on slack, its such a great video, its a shame some people may miss it mecause of yt
@Fireship
@Fireship 5 жыл бұрын
I have not figured out how to appease the KZbin algorithm gods ¯\_(ツ)_/¯
@patrickmullot73
@patrickmullot73 5 жыл бұрын
check your code for : JeffsVideos.pipe( switchmap( v => VictoriaSecret) ).subscribe() That might be the issue ;-)
@bennakaska7472
@bennakaska7472 5 жыл бұрын
You have to click the bell now to get an update. So Jeff you should start your videos now with "If you find this video helpful, like, subscribe and press the bell"
@x-lightsfs5681
@x-lightsfs5681 5 жыл бұрын
@@bennakaska7472 i had it clicked
@marekkazimierczak9210
@marekkazimierczak9210 2 жыл бұрын
I do wanna see more of RxJS 🚀
@stw00lf
@stw00lf 5 жыл бұрын
Another awesome video! I would like to see more about rxjs 🎩
@punsmith
@punsmith 4 жыл бұрын
RxJS is basically something that the team of Angular should have tried to promote a whole lot more as being deeply ingrained in Angular. It always felt like the Angular team was too careful about telling people that the framework was using it extensively, despite being such an amazing choice. With RxJS I find myself having full control over the direction of data and with Dependency Injection in Angular, it becomes amazingly easy to create centralized services for a very understandable and easily executable Observer Pattern.
@moonbrush5
@moonbrush5 4 жыл бұрын
These videos are like my daily doses to boost up my skills. 👍
@robocop30301
@robocop30301 5 жыл бұрын
This has helped me so much. Thank you, and please keep it up!
@SoundFilmDesign
@SoundFilmDesign 5 жыл бұрын
Great vid! Always great content from Fireship!
@narendrasinghrathore1012
@narendrasinghrathore1012 5 жыл бұрын
Design patterns, do make a series on gang of four design patterns. Great video.
@rogeroliveira4973
@rogeroliveira4973 3 жыл бұрын
RxJS is gigantic! In fact, we've some courses specifically designed to learn its concepts.
@theristes
@theristes 5 жыл бұрын
Thx for this well done, u r helping a lot of people.
@techvolta
@techvolta 5 жыл бұрын
Nice video! RxJS is really powerful and forkJoin is one of my favorites.
@dennisbarzanoff9025
@dennisbarzanoff9025 5 жыл бұрын
I've waited for this for so long
@mattiaesposito5525
@mattiaesposito5525 5 жыл бұрын
as always a nice short and simple video a very amazing tutorial thanks
@ssougnez
@ssougnez 4 жыл бұрын
Pfff that's a shame... That we cannot like a video more than once ;-) awesome video.
@illegitimate-egg
@illegitimate-egg 2 жыл бұрын
at 2:00 how were you viewing your bundle size?
@delta4v
@delta4v 5 жыл бұрын
Please add more scenarios of rxjs. You can make a series of it.
@sandiphob
@sandiphob 5 жыл бұрын
This was an awesome video and super digestible!
@MrChickenpoulet
@MrChickenpoulet 5 жыл бұрын
I like your new intros ! Keep up the good work :D
@reaper84
@reaper84 11 ай бұрын
Really useful explanations!
@shashank5383
@shashank5383 5 жыл бұрын
Thanks Jeff, I was waiting some tutorial on RxJs
@LukasPukenis
@LukasPukenis 5 жыл бұрын
Wow, a good video and a good live demo, all prepared and served for easy watching in 2019 with no "hit the bell and subscribe"???
@Oswee
@Oswee 5 жыл бұрын
Really would like to see more real world examples when working with composable components and UI state. LitElement as example and multiple possible custom context menus with only one open context menu per app shell. As well, fetching data and applying it to store and rerendering UI.
@StephenRayner
@StephenRayner 4 жыл бұрын
Excellent library thank you to sharing this
@iamshoaibkhalil
@iamshoaibkhalil 3 жыл бұрын
Congratulations for 1M subscribers
@or.o.s.t8190
@or.o.s.t8190 4 жыл бұрын
What's the reason for the dip in downloads on Jan 6(at 0:33) through all packages?
@ChristianCoxIsCrickkills
@ChristianCoxIsCrickkills 3 жыл бұрын
Holidays, when people take time off. The dip starts around the end of December.
@AbhiBhardwaj1289
@AbhiBhardwaj1289 4 жыл бұрын
Superb Explanation
@Rotem_shwartz
@Rotem_shwartz 5 жыл бұрын
Your an absolute beast, love your videos, tnx
@realworldcomputing1044
@realworldcomputing1044 3 жыл бұрын
Awesome video, what is your editor's color scheme?
@darshangowda309
@darshangowda309 5 жыл бұрын
Yay! Crash course :D
@Fireship
@Fireship 5 жыл бұрын
Should I make one for RxDart also?
@darshangowda309
@darshangowda309 5 жыл бұрын
@@Fireship I think the concepts are pretty much the same! But, if you're gonna combine this with animations and stuff, it'll be so cool to watch :P
@NourElGhamry
@NourElGhamry 5 жыл бұрын
Amazing Jeff as usual 💪
@vivekgiri2238
@vivekgiri2238 5 жыл бұрын
Keep up! Please create a video on nativescript as well 😋
@osiriscarrillo4221
@osiriscarrillo4221 5 жыл бұрын
Great video. Talking about observables, could you make a video about interceptors and catch error from angular ?
@mfjones7879
@mfjones7879 3 жыл бұрын
Thank you very much . This helped a lot.
@JancoBH
@JancoBH 5 жыл бұрын
Thank you so much for this video, I needed it 😍
@JakubBogusawskiPL
@JakubBogusawskiPL 4 жыл бұрын
Great explanation, thanks!
@sagnikpradhan3594
@sagnikpradhan3594 5 жыл бұрын
We need more *Code this not that*
@grzegorzsokalski7328
@grzegorzsokalski7328 5 жыл бұрын
Jeff ur viedos helping me at work THANK U soooooooooooo much!
@hartneil93
@hartneil93 5 жыл бұрын
Amazing video just like always!
@CodingCatDev
@CodingCatDev 5 жыл бұрын
We always talk about a river flowing down a mountain, I am now going to describe as plumbing 💯!
RxJS Quick Start with Practical Examples
15:33
Fireship
Рет қаралды 235 М.
The amazing, but unsettling future of technology...
9:10
Fireship
Рет қаралды 1 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Глеб Михеев - Как RxJS разделил мой мир на до и после
49:43
HolyJS — конференция для JavaScript‑разработчиков
Рет қаралды 26 М.
I only ever use *these* RxJS operators to code reactively
25:25
Joshua Morony
Рет қаралды 137 М.
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН
RxJS Crash Course
58:14
Laith Academy
Рет қаралды 96 М.
The Biggest Mistake Intermediate React Developers Make
18:32
Cosden Solutions
Рет қаралды 31 М.
TOP 6 Mistakes in RxJS code
18:35
Decoded Frontend
Рет қаралды 24 М.
Lazy-Loaded Images - Code This, Not That
4:47
Fireship
Рет қаралды 90 М.
Mathematics doesn't actually make any sense
13:37
Sheafification of G
Рет қаралды 46 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН