Installation
Single npm package — same import on every platform. The right renderer is picked at bundle time via package.json exports + React Native's .native.ts resolver.
React (web)
npm install @kenildev007/skeleto// once, at the root of your app
import '@kenildev007/skeleto/styles.css';Expo (managed workflow)
npx expo install @kenildev007/skeleto react-native-reanimatedNo expo prebuild. No pod install. Reanimated is bundled with Expo Go since SDK 48 — so the library works inside Expo Go too.
Bare React Native
npm install @kenildev007/skeleto react-native-reanimated
cd ios && pod installNext.js
// app/layout.tsx
import '@kenildev007/skeleto/styles.css';
export default function Layout({ children }) {
return <html><body>{children}</body></html>;
}Compatibility
| Environment | Status | Notes |
|---|---|---|
| React 18+ | Full | Native Suspense interop |
| React Native 0.70+ | Full | Old + New Architecture |
| Expo SDK 50+ | Full | Dev build + Expo Go |
| Next.js App Router | Full | No hydration flash |
| React Native Web | Full | — |
| Vite / CRA / Remix | Full | — |