You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getIsProduction() was caching true as soon as any single registered renderer reported a production build, which made the Next.js dev overlay's production React renderer disable React Scan entirely. The fix:
Cache false permanently once a non-production renderer is observed.
Never cache true — a later dev renderer can still flip the result.
Added a regression test matrix that mocks bippy's getRDTHook / detectReactBuildType for: empty renderers, all production, mixed, production-then-dev (regression guard), and dev-then-anything.
Activity
RobPruzan commentedon Aug 5, 2025
Thanks for the issue, will get this fixed!
brunocapdevila commentedon Sep 10, 2025
Same issue
zhsama commentedon Dec 3, 2025
you may use a trick be like
aidenybai commentedon May 2, 2026
Fixed in v0.5.5 via #437.
getIsProduction()was cachingtrueas soon as any single registered renderer reported a production build, which made the Next.js dev overlay's production React renderer disable React Scan entirely. The fix:falsepermanently once a non-production renderer is observed.true— a later dev renderer can still flip the result.Added a regression test matrix that mocks bippy's
getRDTHook/detectReactBuildTypefor: empty renderers, all production, mixed, production-then-dev (regression guard), and dev-then-anything.