@fewchurs/react
v1.0.1
Published
A Fewchurs feature-request board for any React app.
Maintainers
Readme
@fewchurs/react
A Fewchurs feature-request board for any React app — the client, the store, the hooks and the components. See the repository README for the full guide.
pnpm add @fewchurs/reactimport { FewchursBoard, FewchursProvider } from "@fewchurs/react";
import "@fewchurs/react/styles.css";
<FewchursProvider apiKey={import.meta.env.VITE_FEWCHURS_KEY}>
<FewchursBoard />
</FewchursProvider>;FewchursBoardDialog renders the same board in a modal (open, onClose, plus every board
prop), and initialFeatureId opens the board on one request with its comments expanded.
In a Next.js app, use @fewchurs/next instead: it renders the board on the server
and keeps the API key out of the browser.
@fewchurs/react/core is the server-safe half — the fetch client, the types, validation and
error mapping, with no React and no "use client" boundary.
