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

Allow hooks to be installed separately #692

@Glazy

Description

@Glazy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions