Applies a rename map to all handler sources (word-boundary replacement). Called by PreactUtilities once per nested component, in walk order, so that names declared in outer components are correctly renamed before inner components' prop binding values reference them.
E.g. Map { 'clickAndLog' => 'testButton0_clickAndLog' }.
Prefix of the component.
Map of any ancestor components.
Gets the section in the script responsible for reattaching any handlers of this prefix.
The component prefix.
The js section as a string.
Returns the nested component entries in walk order (outermost first).
The nested component entries as an array.
Walks the given virtual dom node recursively and collects any handlers found.
The node to walk.
The prefix of the immediately enclosing custom component, if any.
Walks a Preact VNode tree, collects event handlers, stamps data-ssr-handlers attributes, and produces a reattachment script section for client-side bootstrap.