logoalt Hacker News

chrisweeklyyesterday at 9:23 PM1 replyview on HN

Colocation is a useful principle in component-based architecture.


Replies

apsurdyesterday at 10:02 PM

In my lived experience, shared components just become another problem. Especially in a fledgling company, the iteration velocity is actually negatively affected by shared libs because there's always overhead to (not) break legacy. so shared components bloat to address every evolving need.

And now with AI generated code i see so many wrapper patterns that forward endless props down, it's crazy!

TLDR: i almost always end up branching out into evergreen "reusable" components anyway.

Very unlikely the component library the CTO asked claude to DRY up the code with, is the one to rule them all.

show 1 reply