Build Reactive Websites with RxJS
For anyone who worked with Angular RxJS was probably the most confusing part of the framework. Even though this library can and is used on its own, most of us became familiar with it through Angular. I believe RxJS could be the reason some people may be reluctant to learn the framework in the first place. I remember how difficult it was for me to find any decent, easily digestible information when I was learning Angular. The docs seemed overwhelming, and everything seemed confusing.
As someone who likes switching up different styles of learning, I do enjoy reading books to gain an understanding of any particular technology. Today I'd like to share my thoughts on the book By Randall Koutnik titled Build Reactive Websites with RxJS: Master Observables and Wrangle Events.
Written by a senior engineer at Netflix, this book gives an insight into the RxJS concepts and use cases.
I'm more of a hands-on kind of guy which is probably why reading the documentation might not always be very helpful. This is one of the reasons I appreciated the delivery style used in this book.
The author gives a series of practical exercises along with the source code. After a brief introduction to a concept, you are presented with a problem, which you get to solve on your own. If you find it too hard or get stuck, you can always refer to a solution. You also don't need to worry about setting up your dev environment as it's already done for you. You could, of course, set it up yourself, especially considering the fact the packages are not up to date. I chose to skip this step as I didn't have too much time to spare.
One important thing to note is that you are building pieces of functionality with real-life use cases, and you could even potentially use them in your projects.
It's all fine and dandy to build calculators and 'To-do' lists, but after a few of those, it gets boring. I suppose this is what made me finish the book quite fast.
I have to note, however, that this book doesn't talk about RxJS specifically in the Angular context, even though there are some articles dedicated specifically to it. But this is also what makes this book more interesting.
It made RxJS a lot less intimidating in confusing for me and showed the value of using it outside Angular projects. So, I'll be using it more for personal projects whenever I have time to build something.
To conclude, I can't recommend it enough as it's easy to understand and fun to read. Keep in mind though, that it's more or less a beginner-level book, and if you already have a firm grasp of RxJS, it might not be for you.