ShineJS

Installation

Install shinejs and choose your integration path.

Use your preferred package manager.

npm install shinejs
pnpm add shinejs
yarn add shinejs

Import paths

  • Core class API: @hazya/shinejs
  • React API (component + hook): @hazya/shinejs/react
import { Shine, useShine } from "@hazya/shinejs/react";
import { Shine as ShineCore } from "@hazya/shinejs";

Recommendation

Shine is the recommended default for React. Use useShine for imperative update flows.

Requirements

  • Modern browser environment.
  • ESM-compatible tooling.
  • React + Next.js optional (for Shine or useShine).

On this page