DEV Community

Discussion on: Split fat component into smaller flexible components in React

Collapse
 
arnemahl profile image
Arne Mæhlum

This is spot on. People who just picked up React commonly make components with lots of jsx, like you would if you were writing the entire html for a page in one file. If you don't split that up into logical compokents you are missing half the point of React. (The other half is how React renders after each state change, makikng you write declarative code.)