79714143

Date: 2025-07-25 03:00:09
Score: 1
Natty:
Report link

I have the same issue, I think it is actually something caused by NativeWind. I found a GitHub issue related to this.

I assume that NativeWind uses "shadow*" style props internally for the version(s) we are on. I would expect this issue to be resolved in later versions of NativeWind.

If you want to suppress these warnings, the GitHub issue mentions this solution:

const originalConsoleWarn = console.warn;

console.warn = (...args) => {
  // https://github.com/react-navigation/react-navigation/issues/11730
  if (
    args[0] === '"shadow*" style props are deprecated. Use "boxShadow".' &&
    new Error().stack?.includes("useNavigationBuilder")
  ) {
    return;
  }

  originalConsoleWarn(...args);
};
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: Nolios