What is use-dom?
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally. Source: gigs-slc/react-native-skills.
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Quickly install use-dom AI skill to your development environment via command line
Source: gigs-slc/react-native-skills.
DOM components allow web code to run verbatim in a webview on native platforms while rendering as-is on web. This enables using web-only libraries like recharts, react-syntax-highlighter, or any React web library in your Expo app without modification.
Create a new file with the 'use dom'; directive at the top:
Every DOM component receives a special dom prop for webview configuration. Always type it in your props:
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally. Source: gigs-slc/react-native-skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/gigs-slc/react-native-skills --skill use-domUse Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally. Source: gigs-slc/react-native-skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/gigs-slc/react-native-skills --skill use-dom Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/gigs-slc/react-native-skills