Develops and debugs high-performance interactive WordPress features using the native Interactivity API framework.
This skill provides specialized guidance for the WordPress Interactivity API, enabling developers to build reactive frontend experiences within the WordPress ecosystem. It covers the implementation of data-wp-* directives, state management, and actions, with a heavy focus on best practices like server-side rendering (SSR) for SEO and performance. Whether you are debugging hydration mismatches or scaffolding new interactive blocks via viewScriptModule, this skill ensures your code aligns with modern WordPress 6.9+ standards and optimal module-based workflows.
주요 기능
01Implementation of declarative data-wp-* directives for reactive UI
02Integration with block.json and module-based viewScriptModule entry points
038 GitHub stars
04Server-side pre-rendering of state and context for SEO and performance
05Debugging hydration mismatches and directive execution failures
06Support for WordPress 6.9+ features including unique directive IDs and TypeScript types
사용 사례
01Building a custom interactive block with reactive state and server-side rendering
02Resolving 'directives don't fire' issues by verifying store namespaces and module loading
03Optimizing a WordPress theme for performance by scoping interactivity to specific subtrees