name: React Tooling description: Debugging, build analysis, and ecosystem tools. metadata: labels: [react, tooling, debug, performance] triggers: files: ['package.json'] keywords: [devtool, bundle, strict mode, profile]
React Tooling
Priority: P2 (OPTIONAL)
Tools for analysis and debugging.
Implementation Guidelines
- DevTools: Use "Highlight Updates" to spot re-renders.
-
Debugger:
useDebugValuefor custom hooks. -
Performance:
why-did-you-renderto catch wasted renders. -
Bundle:
source-map-explorerorbundle-visualizer. -
Linting:
eslint-plugin-react-hooks(Errors) +react-refresh. - Strict Mode: Enable for double-invoke checks (effects/reducers).
Code
// Debugging Hooks
useDebugValue(isOnline ? 'Online' : 'Offline');
// why-did-you-render
if (process.env.NODE_ENV === 'development') {
const whyDidYouRender = require('@welldone-software/why-did-you-render');
whyDidYouRender(React, {
trackAllPureComponents: true,
});
}
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
143
GitHub Forks
48
Created
Jan 2026
Last Updated
4 months ago
tools
tools automation tools
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!