Skip to content

Conversation

leohxj
Copy link
Contributor

@leohxj leohxj commented May 9, 2025

next/dynamic is a composite of React.lazy() and Suspense.

Using loading argument instead of Suspense component fallback prop.

The doc is here: https://nextjs.org/docs/pages/guides/lazy-loading#nextdynamic

@CLAassistant
Copy link

CLAassistant commented May 9, 2025

CLA assistant check
All committers have signed the CLA.

@MagicCube MagicCube merged commit 4d16d82 into bytedance:main May 12, 2025
3 checks passed
H0ARK pushed a commit to H0ARK/DEAR that referenced this pull request May 13, 2025
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.

3 participants