Skip to content

Install prerequisites

  • react
  • react-native
  • metro

Expo apps already satisfy the Metro side of this setup.

Effect is an implementation dependency installed with Crumbs. Applications do not add it as a peer dependency or supply Effect services/runners to use the styling and React APIs.

The current package contract is validated against:

  • Expo SDK 56 / React Native 0.85
  • Expo SDK 57 / React Native 0.86 (supported since Crumbs 1.1.0)
  • Expo SDK 58 / React Native 0.88 with Crumbs 1.2.0; React / React DOM 19.3.1
  • React 19.2 on retained SDK 56/57 lines

Crumbs 1.2.0 peers cover React Native >=0.85 <0.87 || >=0.88 <0.89; RN 0.87 is unqualified. Crumbs 1.2.0 retains SDK 56/57 support; earlier 1.1.1 covers those two SDKs only. Crumbs tooling keeps Node >=22.0.0; SDK 56/57 tooling needs >=22.13.0 and SDK 58 needs ^22.13.0 || ^24.3.0 || ^26.0.0 || >=27.0.0. See compatibility and the 1.2.0 release status for the published compatibility release and its verification evidence.

  • Metro must be wrapped with withNativeStyles in both Babel and Rust modes
  • .css.ts authoring modules should import from @opsydyn/crumbs-css/style
  • themed styles should be resolved through the theme Hooks or resolver APIs; literal styles need no provider

SDK 58 consumers may opt into Expo’s Rust transformer. This is an Expo app experiment, not a Crumbs runtime dependency.

  • Expo or React Native app using Metro
  • clean Metro cache after configuration changes
  • Storybook or Expo Dev Client for visual integration checks

If the consumer app is installed with Bun, expo-doctor can still report duplicate Expo packages from Bun’s .bun/ symlink layout even when every duplicate is the same version. Verify the versions and physical packages resolved by the app before treating this as a layout-only warning. Different React or React Native copies and mismatched SDK peers still need to be corrected; do not use peer overrides to silence them.

This package is documented for React Native consumers first. Browser CSS runtime parity is out of scope.