79668806

Date: 2025-06-17 09:36:25
Score: 3
Natty:
Report link

I have a similar issue, in prod each time the screen changes my RootLayout is rerender. It doesn't happen in dev mode but it happens when running with npx expo start --no-dev --minify . I tried with a new project from npx create-expo-app and just added this lines in the RootLayout and the problem still occure :

  const count = useRef(0);
  count.current += 1;
  alert(`RootLayout rendered ${count.current} times`);
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (1):
Posted by: MathGi