Live data from Hacker News

UseHooks – A Collection of Server Component Safe React Hooks

usehooks.com

61–62 of 62 posts

Re: UseHooks – A Collection of Server Component Safe React Hooks

#62
post #54

Earlier quoted context omitted.

I agree with you. We will actually start playing around with use hooks. One package that has multiple utilities maintained by one entity is great. When you have multiple dependencies from multiple entities in your code, the surface area for supply chain attack is larger.

It's not just about supply chain attacks. It's also about convenience and practicality. After a few months or years there will be some major dependency version updates to do, and often there is some manual work associated with that. Maybe reading changelogs and documentation, or checking if the package is still maintained and looking for alternatives. Doing that for 5 packages is reasonable, doing it for 20 or 30 pac…

I agree with you
Post reply on HN