Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
andreyvit
· 10y ago · 0 comments
I explicitly do _not_ state that it applies to React, because there's no domain logic in React components. (Or at least there shouldn't be. It is certainly possible to write a spaghetti component that would do everything.)
Comments
[–]
gemma
10y ago
> It is certainly possible to write a spaghetti component that would do everything.
So...like PHP, then?
[–]
mercer
10y ago
Not really. You're strongly coaxed into doing it the right way by design, which is not my experience with the old-skool PHP approach.