Overview
Uniwind Pro delivers safe area insets directly from C++ to your classNames. The native layer monitors inset changes (orientation, device notches) and updates your components automatically without triggering React re-renders.Free vs Pro
| Feature | Free Version | Pro Version |
|---|---|---|
| Safe area classNames | Supported | Supported |
| Setup required | SafeAreaListener + Uniwind.updateInsets() | None |
| Dependencies | react-native-safe-area-context | None |
| Re-renders on inset change | Yes | No |
How It Works
- Native monitoring - The C++ layer subscribes to safe area inset changes from iOS/Android
- Direct updates - When insets change (initial render, orientation changes), values are pushed directly to the shadow tree
- No React involvement - Components using safe area classes update without re-rendering
- Single frame - All affected components update atomically in the same frame
This is part of Uniwind Pro’s shadow tree update mechanism. See Shadow Tree Updates for more details.
Related
Shadow Tree Updates
Learn how Uniwind Pro updates views without re-renders
Migration Guide
Step-by-step guide to upgrade from Free to Pro