solid-ui-react
solid-ui-react copied to clipboard
Allow hooks to be installed separately
Feature suggestion
It would be nice to be able to install just the hooks, and their associated contexts/providers, without having to pull all of the data display and authentication components.
Expected functionality/enhancement
npm install @inrupt/solid-react-hooks // or similar
// index.js
import { useSession, useFile, useThing, useDataset } from '@inrupt/solid-react-hooks'
Actual functionality/enhancement
At the moment since it is not possible to install just the hooks so you have two options:
- Install this library as-is and pull all of the additional components.
- Copy the hooks/providers you want into your local project.
Hi @Glazy , I'm sorry this issue was never replied to. We are now deprecating the React SDK, so unfortunately we will not be addressing the open issues.