Lazy LoadingPremium
The GridPDFExport
component enables you to dynamically import the PDF export component only when it is needed.
The handlePdfExport
method demonstrates a lazy-loading approach for the PDF export functionality. It dynamically imports the saveGridPDF
method from the @progress/kendo-react-pdf
package only when the export action is triggered. This reduces the initial bundle size and improves application performance by loading the PDF export module on demand.
Change Theme
Theme
Loading ...