Skip to content

Feat/issue 377 lazy route suspense error fallback#448

Open
nice-bills wants to merge 2 commits into
rinafcode:mainfrom
nice-bills:feat/issue-377-lazy-route-suspense-error-fallback
Open

Feat/issue 377 lazy route suspense error fallback#448
nice-bills wants to merge 2 commits into
rinafcode:mainfrom
nice-bills:feat/issue-377-lazy-route-suspense-error-fallback

Conversation

@nice-bills
Copy link
Copy Markdown

Summary

Heavy Expo Router screens now use createLazyRoute(): React.lazy for code-splitting, a skeleton Suspense fallback, and a per-route ErrorBoundary with
retry.

What changed

  • Lazy routes: home, search, profile, settings, course-viewer, quiz, qr-scanner
  • New skeletons where fallbacks were missing (null before)
  • docs/lazy-loading.md + tests in src/__tests__/utils/lazyRoute.test.tsx
  • Metro/tsconfig path resolution for root components/ / hooks/ alongside src/
    Closes Implement component lazy loading with suspense and error fallback #377

Copilot AI review requested due to automatic review settings May 28, 2026 07:30
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@nice-bills Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

kindly resolve conflict and fix workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement component lazy loading with suspense and error fallback

2 participants