|
|
|
|
|
by tegeek
4569 days ago
|
|
<tabManager background=blue>
<tab closeButton=true>
Hello {{propertyName}}
</tab>
</tabManager> This is what you typically get at the end in an Angular app. You don't need to "figure out" things where they are and what they are, and what they do in DOM. Show me this declarative thing in React. And this is just one part of Angular. |
|
<tabManager background={'blue'}> <tab closeButton={true}> Hello {this.props.Name} </tab> </tabManager>
Would be valid in react.
Check out http://facebook.github.io/react/#todoExample, specifically the render function.
I think this is pretty easy to understand: