DEV Community

Discussion on: We Should All Be Writing WET Code

vlaem profile image

" 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.