Add loading.tsx to route segments with slow data fetching. It provides instant visual feedback during navigation.
Why This Matters
Without loading.tsx, navigating to a slow page shows nothing until the server responds — users think the app is broken.
Tags
nextjssupabase
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 2+ others. Get actionable feedback before code ships.