From harness-claude
Renders React entirely in the browser for highly interactive SPAs where SEO is not required. Provides setup instructions for Vite/CRA, client routing, and code-splitting mitigations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/harness-claude:react-client-renderingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Render React entirely in the browser for highly interactive single-page applications
Render React entirely in the browser for highly interactive single-page applications
createRoot:
import { createRoot } from 'react-dom/client';
createRoot(document.getElementById('root')!).render(<App />);
index.html with a single <div id="root"> from any static host.index.html for client-side routing.Client-side rendering (CSR) sends an empty HTML shell to the browser; React builds the DOM entirely in JavaScript. The advantages are simplicity (no server) and rich interactivity; the disadvantages are slower Time to First Contentful Paint (FCP) and poor SEO.
When CSR is appropriate:
Performance concerns:
React.lazy + route-based splitting), tree-shaking, and CDN cachingVersus SSR/SSG: If public SEO matters or First Contentful Paint is critical, use a framework with SSR (Next.js, Remix) or static generation instead.
https://patterns.dev/react/client-side-rendering
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claudePre-renders React components on the server for better SEO and faster initial load. Covers Next.js getServerSideProps, Remix loaders, and custom Express setups with React 18 streaming.
Builds React components, implements responsive layouts, and manages client-side state with React 19 and Next.js 15.
Build React components, implement responsive layouts, handle client-side state management, and optimize performance. Use proactively for UI components or frontend issues.