Skip to main content

Crate leptos_shadcn_lazy_loading

Crate leptos_shadcn_lazy_loading 

Source
Expand description

Lazy loading system for shadcn/ui Leptos components

This module provides lazy loading capabilities to reduce initial bundle size by loading components only when they’re needed.

Structs§

BundleAnalysis
Bundle analysis results
BundleAnalyzer
Component bundle analyzer for optimization
LazyComponentLoader
Lazy component loader that manages dynamic imports
LazyComponentProps
Props for the LazyComponent component.

Functions§

LazyComponent
Lazy component wrapper that loads components on demand
use_lazy_component
Hook for lazy loading components

Type Aliases§

ComponentLoader
Component loader function type