image
Akan.js
Docs
문서컨벤션레퍼런스Cheatsheet
한국어
image
Akan.js
Akan.js v2 문서가 새로 나왔습니다.v1 문서 보기
문서컨벤션레퍼런스Cheatsheet
Released under the MIT License
Official Akan.js Consulting onAkansoft
Copyright © 2026 Akan.js All rights reserved.
System managed bybassman
General
• Authorization
• Schema Design
• Edge Computing
• File Management
• Single Sign-On
• DataList & Enum
Interface
• CRUD
• Endpoint
• Form
Observability
• Logging
• Dependency Injection
• Error Handling
• Metrics
Performance
• Caching
• Image Optimization
• Lazy Loading
• Querying
• Mutating
• Queueing
• Realtime
Development
• Documentation
• Script
• Console
• Mobile
• Docker
• Kubernetes
• PWA
General
• Authorization
• Schema Design
• Edge Computing
• File Management
• Single Sign-On
• DataList & Enum
Interface
• CRUD
• Endpoint
• Form
Observability
• Logging
• Dependency Injection
• Error Handling
• Metrics
Performance
• Caching
• Image Optimization
• Lazy Loading
• Querying
• Mutating
• Queueing
• Realtime
Development
• Documentation
• Script
• Console
• Mobile
• Docker
• Kubernetes
• PWA
이전
Image Optimization
다음
Querying

Lazy Loading

Lazy loading means the first page does not download every heavy component right away. Load expensive UI only when the user reaches it.
  • Good for maps, charts, editors, 3D viewers, and wallet widgets.
  • Good for large admin panels that are not always opened.
  • Not useful for tiny buttons or above-the-fold content.

External Libraries

Some libraries are large or depend on browser-only APIs such as `window`. Wrap them with `lazy` and disable SSR when needed.
Map widget

Large Components

You can also split your own components. This is useful when a page has a heavy editor or dashboard that opens only after a click.
Lazy editor

SSR Or Client Only

  • Use default lazy when the component can render on the server.
  • Use `{ ssr: false }` when the library needs `window`, `document`, canvas, WebGL, or browser storage.
  • Always give a loading fallback when the blank space would be confusing.

Tips

  • Split by user intent: editor, map, chart, modal, viewer.
  • Do not lazy-load the first thing users need to see.
  • If many pages use the same component immediately, lazy may only add delay.
Lazy Loading
External Libraries
Large Components
SSR Or Client Only
Tips