📄️ nextTick
The nextTick hook ensures that a callback function is executed after the framework has finished updating dependencies. This is useful for scenarios where you need to wait for DOM updates before executing logic.
📄️ useAttrs
The useAttrs hook allows components to access attributes passed from their parent, excluding props. This is useful for forwarding extra attributes like classes, data attributes, and event listeners.
📄️ useChildrens
The useChildrens hook allows a component to access the elements passed inside its tag. This is useful for handling slots or dynamically rendering child elements within a component.
📄️ useConfig
The useConfig hook allows you to retrieve the current framework configuration dynamically within a component.
📄️ useNames
The useNames hook allows a component to access registered child elements that have been assigned a specific name using the d-name directive. This is useful for managing named slots or dynamically manipulating specific child elements within a component.
📄️ useProps
The useProps hook allows a component to access the properties passed to it by its parent. This is useful for managing dynamic data within components.
📄️ useRefs
The useRefs hook allows components to access registered reference elements within a component. This is useful for interacting directly with elements assigned a d-ref identifier.