Hacker News new | ask | show | jobs
by resurge 20 hours ago
Not just React, but it apparently also depends on Next.js

Dependency in package.json:

- https://github.com/extend-hq/ui/blob/main/apps/v4/package.js...

Dependencies in some components:

- https://github.com/extend-hq/ui/blob/main/apps/v4/components...

- https://github.com/extend-hq/ui/blob/main/apps/v4/components...

2 comments

Hey! Those components are used for the demo site, and shouldn’t ship or get installed when you install the components in the registry.

None of the ones in the registry should have next as a dependency, please lmk if otherwise

React (vs web components) might be questionable, but Next.js as a hard dependency, for a component library, is just weird.
Responded above but the components like the file viewers should not depend on next. Please lmk if it gets pulled when installing via CLI