DEV Community

Discussion on: [RELEASE] GlueDOM: JSX alternative to make non-trivial components easier to read and maintain

Collapse
 
aneudysamparo profile image
Aneudys Amparo

My hate to React JS is JSX, remember those time when people judge PHP because view a business logic was in same file. Now we have it with React, there are not official architecture or folder structure on how it must be organized. Many of them came from Angular. Another comes with Styled-component: don't get me wrong, they are cool' but more sh*ts.

Collapse
 
sroehrl profile image
neoan

Indeed, that's the problem. I have seen clean React code. But sadly, it's the exception. If the lib/framework doesn't force developers into a structure, it easily becomes a unmaintainable catastrophe. There is a reason why "opinionated" has a positive connotation when it comes to coding.