Expo DOM Components

•
2.2k
•

Integrates web-only React libraries and HTML/CSS elements into native Expo mobile applications using isolated DOM WebViews.

This skill equips Claude to efficiently build, configure, and debug Expo DOM components. It provides best practices for executing web code within native WebViews on iOS and Android, leveraging the 'use dom' directive, managing serializable props for seamless native-to-web communication, integrating complex web-only libraries like charts or editors, and handling Expo Router compatibilities during incremental web-to-native migrations.

Características Principales

01Implements the 'use dom' directive to run React web code in a native WebView context
02Ensures compatibility with Expo Router navigation inside sandboxed web environments
03Integrates web-only libraries like Recharts, Chart.js, or syntax highlighters into mobile apps
04Enables bidirectional communication between native and WebView environments using async function props
052,173 GitHub stars
06Configures WebView behaviors such as scrolling, styling, and inset adjustments via the 'dom' prop

Casos de Uso

01Embedding complex web-only UI elements, interactive charts, and rich text editors into mobile apps
02Incrementally migrating existing React web application layouts and components to React Native
03Embedding external web content, iframes, and Canvas/WebGL elements requiring a full browser context