Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- Use functional components with hooks exclusively
Sign in to like and favorite skills
/components/ui/useState for local component stateuseContext for shared state across component treesReact.memo for expensive componentsuseMemo and useCallback appropriatelyReact.lazysrc/ components/ ui/ # Reusable UI components layout/ # Layout components forms/ # Form components hooks/ # Custom hooks utils/ # Utility functions constants/ # Application constants types/ # TypeScript types services/ # API services
/** * UserProfile component for displaying user information * @param {Object} props * @param {Object} props.user - User object with profile data * @param {Function} props.onEdit - Callback for edit action * @param {boolean} props.isEditable - Whether profile can be edited */ const UserProfile = ({ user, onEdit, isEditable = false }) => { // Component implementation };