Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.)


> It is certainly possible to write a spaghetti component that would do everything.

So...like PHP, then?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: