DEV Community

Discussion on: How to Prevent Merge Conflicts (or at least have less of them)

Collapse
 
hollyw00d profile image
Matt Jennings

I think it's good to modularize code (AKA put code for a feature into a single file).

For example, when I working in JavaScript if I'm creating a an accordion I might name the file accordion.js and then I'll use a task runner and import statements.