zustand-expert
🧠 Skill: zustand-expert
Description
Senior state architect specializing in Zustand v5 for modern React applications. Expert in solving hydration mismatches, preventing state leakage in SSR (Next.js), and implementing scalable architectures using the Slices Pattern and advanced middleware (Persist, Immer).
Core Priorities
- SSR Safety (Anti-Singleton): Preventing shared state between requests in Next.js by using per-request stores via React Context.
- Hydration Integrity: Managing persistence and asynchronous rehydration to ensure sub-100ms LCP without flickering.
- Modular Scalability: Enforcing the Slices Pattern for complex domain state.
- Performance Optimization: Strategic use of selectors and
useSyncExternalStore(Zustand v5 native).
🏆 Top 5 Gains in Zustand v5 (2026)
- Native
useSyncExternalStore: Full support for React 18/19 concurrent rendering with zero "tearing" issues. - Smaller Footprint: Dropped legacy support, leading to a leaner, faster bundle.
- Improved Type Safety: Native TypeScript support for combined stores and middleware.
- Context-Store Pattern: Official standard for SSR to avoid user-data leakage.
- Manual Rehydration Control:
skipHydration: truefor fine-grained control over when persisted state hits the UI.
More from yuniorglez/gemini-elite-core
filament-pro
Master of Filament v4 (2026), specialized in Custom Data Sources, Nested Resources, and AI-Augmented Admin Panels.
80remotion-expert
Senior Specialist in Remotion v4.0+, React 19, and Next.js 16. Expert in programmatic video generation, sub-frame animation precision, and AI-driven video workflows for 2026.
59tailwind4-expert
Senior expert in Tailwind CSS 4.0+, CSS-First architecture, and modern Design Systems. Use when configuring themes, migrating from v3, or implementing native container queries.
49pdf-pro
Master of PDF engineering, specialized in AI-driven extraction, high-fidelity Generation (Puppeteer), and PDF 2.0 Security.
46threejs-expert
Senior WebGPU & 3D Graphics Architect for 2026. Specialized in Three.js v172+, WebGPU-first rendering, TSL (Three Shader Language), and high-performance React 19 integration via `@react-three/fiber` and `@react-three/drei`. Expert in building immersive, low-latency, and accessible 3D experiences for the modern web.
38ui-ux-specialist
Senior Accessibility & Frontend Engineer. Expert in WCAG 2.2 standards, Semantic HTML, and Inclusive Design for 2026.
37