React UI Patterns Core Principles Never show stale UI - Loading spinners only when actually loading Always surface errors - Users must know when something fails Optimistic updates - Make the UI feel instant Progressive disclosure - Show content as it becomes available Graceful degradation - Partial data is better than no data Loading State Patterns The Golden Rule Show loading indicator ONLY when there's no data to display. // CORRECT - Only show loading when no data exists const { data , loading , error } = useGetItemsQuery ( ) ; Show more Installs 1.4K Repository sickn33/agentic…e-skills GitHub Stars 45.1K First Seen Jan 19, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
react-ui-patterns
安装
npx skills add https://github.com/sickn33/agentic-awesome-skills --skill react-ui-patterns