API Reference / @gtkx/codegen / readBuiltinElements
Variable: readBuiltinElements
constreadBuiltinElements: () =>Promise<BuiltinElements>
Defined in: codegen/dist/react/element-config.d.ts:19
Reads the framework's built-in element config by importing the config entrypoint of the installed @gtkx/react. That entrypoint is reconciler-free, so importing it resolves @gtkx/gi but never virtual:gtkx-config, which means this must run only after the gi store has been written and linked.
Returns
Promise<BuiltinElements>