Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VNode ¶
type VNode struct { Type NodeType TagName string Attrs *Attrs Children []*VNode // lifecycle OnCreate func() // invoked after element created and attached to the DOM (react: componentDidMount) OnUpdate func() // invoked after updating occurs, not called for the initial render (react: componentDidUpdate) OnRemove func() // invoked before element removed from the DOM and destroyed (react: componentWillUnmount) // key Key string // help identify nodes when updating the DOM }
Click to show internal directories.
Click to hide internal directories.