TIL: concatLatestFrom does not waitThe Problem Today, I learned that concatLatestFrom in NgRx does not wait for an observable to emit a valid value before proceeding. Instead, it simply grabs the latest available value at the time an action is dispatched. If the observable has not emi...Feb 3, 2025 · 2 min readblog.rohitrajendran.com
TIL - Rebasing a branch onto a different baseToday I learned how to move a branch that was incorrectly based on another branch to a different starting point. This was useful when I wanted to merge a feature branch sooner but realized it was branched off the wrong base. The Scenario Branch A is...Jan 31, 2025 · 2 min readblog.rohitrajendran.com
TIL - Use Tap in RxJS for side effectsWhat is the tap operator? I recently learned about the tap operator when trying to perform a side-effect inside of a map operator. While you could perform side-effects inside of a map operator, it's a better practice to do so in a tap operator where...Jul 26, 2024 · 2 min readblog.rohitrajendran.com
TIL - RxJS has an operator decision tree to make it easier to find the right operatorAs someone new to RxJS, I found the Operator Decision Tree page incredibly helpful. This page provides a visual guide that simplifies the process of choosing the right RxJS operator by presenting a series of questions that lead you to the optimal cho...May 19, 2024 · 1 min readblog.rohitrajendran.com
We do talk about Bruno: The API ClientDespite the catchy song from “Encanto” advising us otherwise, today we’re going to talk about Bruno, an API client, which has quickly become my go-to API client. Our team, like many others, used Postman as our preferred REST API client. It helped str...Mar 11, 2024 · 4 min readblog.rohitrajendran.com