Skip to content
loading...

re: First Impressions: learning Angular after React/Redux VIEW POST

FULL DISCUSSION
 

Angular has different binding architecture somehow.

[] Input Property

() Output Event

[()] Two-way binding

 

Thanks for making those distinctions! Yeah, the binding architecture works totally differently. It could be argued props in React are class properties that are "bound to"/passed down to nested components... but again this is more of a mental shortcut than something that invokes DOM changes

 

Angular Input properties also exist on on the class, are also bound to templates, and may also be passed to child components.

The difference between React and Angular here are minor. Angular gives you more flexibility, but that can lead to bad anti-patterns.

Thanks for adding your thoughts to subsequent concerns! Can you tell me more about what you think are anti-patterns?

code of conduct - report abuse