instance method Spah.StateServer#addExpander
Spah.StateServer#addExpander(strategy, action) → Object
-
strategy
(Object
) – A SpahQL Strategiser object. See Spah.SpahQL.Strategiser for details. -
action
(Function
) – The Strategiser action for this reducer.
Adds a new SpahQL Strategy to this server to be applied when expanding the state for the purposes of populating an HTML render.