Skip to content

Commit

Permalink
Component2 description fix
Browse files Browse the repository at this point in the history
  • Loading branch information
woywro committed Jan 17, 2025
1 parent 5d768f7 commit 5be15aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/components/Component2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Component2() {
<BaseComponent
color="text-purple-400"
title="Dynamic Import (next/dynamic)"
description="While dynamically imported, this component's JavaScript starts loading immediately after page load (not on-demand), contrary to common misconception. Dynamic imports only load conditionally when used with conditional rendering."
description="This component demonstrates Next.js dynamic imports (next/dynamic). While it enables code splitting, the real performance benefits come when used with conditional rendering (like in tabs or modals). Without conditional rendering, the split code still loads immediately, reducing the advantage of dynamic imports."
/>
)
}

0 comments on commit 5be15aa

Please sign in to comment.