Skip to content

[Maintenance]: Document the need to install @solana/kit as a peer dependency #76

@GuiBibeau

Description

@GuiBibeau

Summary

Currently we rely on @solana/kit for both @solana/client and @solana/react-hooks most things are standalone but there are cases where we need types or functions from kit for example

import { address } from "@solana/kit"

However we don't want to re-export as we want to make the interop clear with kit and not replace it. We should document this in the readme somewhere to make it clear.

Motivation

Good explanation on why you would need and can still use kit as framework-kit libraries use kit under the hood. We want to avoid the confusion of what Gill was on top of Kit so a good sensible readme and docs mention could help here

Scope / constraints

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions