DEV Community

Discussion on: React Project Architecture

 
spock123 profile image
Lars Rye Jeppesen

Agree.. Angular (modern) is also amazing.
Built in native support for Observables and Typescript is just amazing.

Thread Thread
 
dhruvindev profile image
Dhruvin

Agreed jsx does feel like php, but it is so quick to prototype and provides so much better project structure as compared to angular where you need to create html + js + cs, uuh so many files to work with.
I have no experience with vuejs, would to recommend to learn it ?

Thread Thread
 
dhruvindev profile image
Dhruvin

ps, by project structure I mean the flexibility to add anything anywhere, there are no strict rules to follow.

Thread Thread
 
jonrandy profile image
Jon Randy 🎖️ • Edited

Yes, and people frequently do follow no rules... leading to the kind of trash I used to see in PHP that I hoped I'd never see again

Thread Thread
 
dhruvindev profile image
Dhruvin

Great for freelancing, nightmare for bigger companies

Thread Thread
 
cgatian profile image
Chaz Gatian

@dhruvindsddev In Angular you can have your HTML+TS+CSS all in one file. :)
When I open a React component I typically see 100+ lines of just hooks and startup code before getting to something interesting. When you finally make your way to the return sending back some JSX, the block is littered with different styles and opinions on how to structure, which makes it difficult to parse if it's not the style you're used to.

Thread Thread
 
jonrandy profile image
Jon Randy 🎖️

The same with RiotJS - out of the box