DEV Community

Discussion on: Best practices and advantages of using React

Collapse
 
miku86 profile image
miku86

Consolidate duplicate code - DRY your code

I see a lot of beginners trying to DRY literally everything. That's when we end up with bad abstractions, the god object antipattern that violates single responsibility etc. KentCDodds has a nice post about this: Avoid Hasty Abstractions