You are building a search feature. You have a searchQuery signal, and you want to fetch data from an API whenever it changes. In Modern Angular (v19/v20+), which API is specifically designed to handle this asynchronous dependency while providing built-in loading and error states?

A) computed()
B) effect()
C) rxResource()
D) toSignal()

Keep reading