Re:Facebook’s New React JavaScript Library Tutorial Rewritte...
by robocat on Thursday May 30, 2013 @01:49PM
(#5794000)
From beginning of tutorial:
> For our comment box example, we'll have the following component structure:
>- CommentBox
> - CommentList
> - Comment
> - CommentForm
Yet the AngularJS solution simplifies this down to one component.
If we presume React could simplify down to a single component too, then the AngularJS solution is would only be fair if it keeps the artificial constraint of having four component classes.
> For our comment box example, we'll have the following component structure:
>- CommentBox
> - CommentList
> - Comment
> - CommentForm
Yet the AngularJS solution simplifies this down to one component.
If we presume React could simplify down to a single component too, then the AngularJS solution is would only be fair if it keeps the artificial constraint of having four component classes.