use-dom
VercelAll-time installs
30.3K
Run web-only libraries in Expo apps by rendering them in webviews on native and as-is on web.
Other options
Summary
Run web-only libraries in Expo apps by rendering them in webviews on native and as-is on web.
- Supports any React web library (recharts, react-syntax-highlighter, canvas, WebGL) without modification by wrapping it in a DOM component file with the 'use dom'; directive
- Passes serializable props and async functions from native to webview, enabling bidirectional communication between native and web contexts
- Includes webview configuration options via the dom prop: scroll control, safe area behavior, manual sizing, and style overrides
- Works with Expo Router navigation APIs; router state hooks require passing values as props from native parent components
- Renders in WKWebView on iOS, WebView on Android, and as standard React on web with identical code
Raw SKILL.md
Raw SKILL.md is not available
Source-content enrichment has not stored the original Markdown yet. This read request will not trigger it.
Security audits
SnykPASS
SocketPASS
Gen Agent Trust HubPASS

