Search code examples
angularreactive-programming

Reactive vs. declarative approach: which is most commonly used in Angular?


I have one year experience as a frontend developer and I mainly use Angular. My understanding of reactive and declarative programming in Angular is still rather shallow.

My question is: Which approach is more widespread? The reactive approach (especially reified reactive) or the declarative approach?

P/s: The reason I ask is that there are only a couple of FE developers at my workplace, and they all use the declarative approach. After learning more about "reactive programming", I think this approach should be the common approach for Angular developers (just my opinion). It's quite confusing that I don't see anyone using this approach at my workplace.


Solution

  • Most developers use the Reactive Approach. Reactive programming describes a design paradigm that relies on asynchronous programming logic to handle real-time updates to otherwise static content.