Monorepo for @hasthiya_/headless-comments-react — a headless-first React comment engine with standalone hooks, composable primitives, pluggable adapters, and optional styled presets. TypeScript-native, zero dependencies (React 18+ as peer).
| Path | Description |
|---|---|
packages/comment-section |
Publishable library @hasthiya_/headless-comments-react. Full API, usage, and architecture are documented in packages/comment-section/README.md. |
apps/showcase |
Next.js app: live demo, docs, and “Bring Your Own UI” examples (Home, Docs, Bring Your Own UI). |
- Node ≥ 18.0.0
- pnpm (this repo uses
pnpm@9.15.9viapackageManagerfield)
From the repo root:
| Command | Description |
|---|---|
pnpm install |
Install dependencies for all workspaces. |
pnpm dev |
Run the showcase app (Next.js dev server). |
pnpm build |
Build all packages and the showcase app. |
pnpm lint |
Lint all workspaces. |
pnpm typecheck |
Type-check all workspaces. |
Contributions are welcome.
- Fork the repository and clone your fork.
- Create a branch for your change (
git checkout -b your-feature). - Make your changes. For API and architecture details, see packages/comment-section/README.md.
- Run
pnpm lintandpnpm typecheckfrom the root. - Open a pull request against the default branch.
- Bug reports and feature requests: GitHub Issues
MIT