DEV Community

[Comment from a deleted post]
Collapse
 
cathodion profile image
Dustin King

So as opposed to React where it at least encourages you to break it into components that maybe go in their own files, whereas jQuery lets you just put anything wherever?

I'm learning React myself. My toy project currently has most of the code in one file, but there's a feeling that I should maybe break them out into separate ones, once I get it sorted out how everything's going to work. I do like that it lets me have everything in the same file if I want without much fuss, unlike a certain language that rhymes with lava.