API Reference

Qingkuai's API is organized by entry package so that imports stay explicit and responsibilities remain clear. This article lists the public APIs exported from the source entry files of two packages: the runtime package qingkuai and the compiler package qingkuai/compiler.

The internal package qingkuai/internal is mainly intended for framework internals and is generally not recommended for direct use in application code, so it is not covered here.

Runtime

The runtime package exports APIs for component lifecycle hooks, reactive side effects, performance controls, and state conversion.

Type Exports

Lifecycle

See: Lifecycle

Side Effects and Watchers

See: Watchers and Side Effects

Reactive Optimization Controls

State and Scheduling

Other Exports


Compiler (qingkuai/compiler)

The compiler package is used to parse and compile component source code. It is mainly consumed by build tools, language services, and plugin ecosystems.

Type Exports

Constants

Utility Functions

Methods and Flags


Edit this page on github (This page has been translated from the Chinese version of the site. There may be inaccuracies in the translation. We welcome your help to improve the accuracy of this document.)