Skip to content

0.4.0

Choose a tag to compare

@DorianMazur DorianMazur released this 06 Sep 13:03
· 93 commits to main since this release

Highlights

  • Added Expo Router integration through react-native-screen-choreography/expo-router, including useChoreographyRouter, ChoreographyScreen, and interactive back transitions.
  • Added the navigator-independent react-native-screen-choreography/core entry point and isolated navigation dependencies in their adapters.
  • Added reusable transition recipes: makeSurfaceTransition, makeStretchTransition, and textMorphTransition.
  • Hardened navigation session ownership, cancellation, rapid interruptions, reverse transitions, and interactive progress handling.

Breaking Changes and Migration

  • Removed StandInCrossfade. Use a transition recipe where appropriate or provide a custom transition renderer for crossfading different content.
  • Removed sourceContent, targetContent, and fadeRange from StandInElement. Pass a single subtree through children; the primitive resizes and positions it without scaling or crossfading its content.
  • StandInContainer defaults to a transparent background and zero corner radius. Supply explicit styles or use makeSurfaceTransition fallbacks when a visible surface is required.

The existing package-root integration remains available for React Navigation. Expo Router applications should import their integration from /expo-router; shared navigator-independent code can import from /core.