Skip to content

Optimize bundle size with dynamic imports and deferred analytics - #3

Open
maktoufzied wants to merge 1 commit into
saikothasan:mainfrom
maktoufzied:feature/optimize-bundle-size
Open

Optimize bundle size with dynamic imports and deferred analytics#3
maktoufzied wants to merge 1 commit into
saikothasan:mainfrom
maktoufzied:feature/optimize-bundle-size

Conversation

@maktoufzied

Copy link
Copy Markdown
  • Dynamically import ApiTester, LanguageShowcase, QuranReader, and ApiEndpoints using next/dynamic to code-split framer-motion and other heavy dependencies
  • Defer Google Analytics loading from afterInteractive to lazyOnload to avoid blocking hydration

- Dynamically import ApiTester, LanguageShowcase, QuranReader, and ApiEndpoints
  using next/dynamic to code-split framer-motion and other heavy dependencies
- Defer Google Analytics loading from afterInteractive to lazyOnload
  to avoid blocking hydration
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.

1 participant