Module: ui

Methods

(static) renderUI(store, ui, pathArrayopt) → {Store}

Accepts a Nux vDOM object and returns a VirtualNode. The vDOM object's 'children' are recursively converted to VirtualNodes. The 'props' for any given are modified such that any custom events are assigned callbacks which dispatch the associated actions. The Nux default event handlers are also added to the 'props' object for a given node. This is where all the magic happens, folks.
Parameters:
Name Type Attributes Description
store Store A redux store
ui Object The Nux vDOM object to be recursively converted into a VirtualNode
pathArray Array <optional>
The location of the provided vDOM object within another vDOM object (if applicable)
Author:
Source:
Returns:
Redux store where app state is maintained
Type
Store