DEV Community

loading...

Discussion on: We Should All Be Writing WET Code

Collapse
vlaem profile image
Alvaro

" 50 lines of the same code in like 5 components"
if it appears 5 times, then you should look really hard into abstracting it. But if only appears twice, it may be too early to tell.

Forem Open with the Forem app