3 ms·
> Traditional SoC: template, styling, and logic for my app are separated No, they are not. There is no real difference (other then syntax) between { rows.ma
by mohaine 9y ago
> Traditional SoC: template, styling, and logic for my app are separated
No, they are not. There is no real difference (other then syntax) between
{ rows.map(r=>(<Row data={r} />)) }
and
<div ng-repeat="r in rows"><Row data={{n}}/></div>
These are both logic that have to be run to display your page. The only real difference is that with JSX, it is easy and powerful enough to use that you could stick some non-display logic in there. Easy and powerful should not be an argument against it.