Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Allow hooks to be installed separately #692

Open
Glazy opened this issue Oct 10, 2022 · 1 comment
Open

Allow hooks to be installed separately #692

Glazy opened this issue Oct 10, 2022 · 1 comment

Comments

@Glazy
Copy link
Contributor

Glazy commented Oct 10, 2022

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:

  1. Install this library as-is and pull all of the additional components.
  2. Copy the hooks/providers you want into your local project.
@NSeydoux
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants