Common Issue: When using Expo Router with React Native Web, you encounter warnings about
shadow*properties andpointerEventsprops that aren't compatible with web environments.
This issue affects most Expo Router templates and React Navigation setups when targeting web platforms. The warnings occur because:
- Shadow Properties: React Native's
shadowColor,shadowOffset,shadowOpacity,shadowRadiusdon't work on web - needboxShadow*equivalents - pointerEvents Props: Web compatibility requires
pointerEventsto be instyleobjects, not as direct props