framework/renderer/vdom/index library
This file serves as a central export point for the VDOM system, allowing easy swapping between implementations.
Classes
- DCFComponentNode
- Base class for all Virtual DOM nodes
- DCFElement
- Represents an element in the Virtual DOM tree
- DCFFragment
- Fragment component that renders its children without creating a wrapper element Similar to React.Fragment - useful for grouping elements without adding extra DOM nodes
- EffectHook
- Effect hook for side effects in components
- EmptyVDomNode
- Represents absence of a node - useful for conditional rendering
- ErrorBoundary
- Component that catches errors in its subtree
- Hook
- Base hook class for all hook types
-
RefHook<
T> - Ref hook for storing mutable references
-
RefObject<
T> - Reference object wrapper
- StatefulComponent
- Stateful component with hooks and lifecycle methods
-
StateHook<
T> - State hook for managing component state
- StatelessComponent
- Stateless component without hooks or state
-
Store<
T> - A store for global state management with usage pattern validation
- StoreHelpers
- Helper functions for working with stores
-
StoreHook<
T> - Store hook for connecting to global state
- StoreRegistry
- Store registry for managing global stores
- VDomAPI
- Main API for VDOM operations This class provides a simplified interface to the VDOM implementation