fastcomments-react-nextjs
Installation
SKILL.md
FastComments in React and Next.js
Two packages, and picking the wrong one is the usual first mistake:
fastcomments-nextjs- use in a Next.js app. Components already declare'use client', so you can render them straight from a server component with no wrapper.fastcomments-react- use in plain React, Vite, CRA, Remix, or anywhere without Next's app router.
Next.js
npm install fastcomments-nextjs
// app/blog/[slug]/page.tsx
import { FastComments } from 'fastcomments-nextjs';