Reaction
Shows different components depending on user actions.
Options
- actionID |
string (required): ID of component to watch. Default:none. - banner |
node: custom message displayed if the user has not yet performed the action. Default:none. - show |
(object|function): hash table of components to display given the different responses (if nokeymatches the response, the value corresponding to thedefaultkey will be displayed if set) or a function that returns a component to display (sole argument of function is the latest result). Default:{}.
Examples
Live Editor
Result
ReferenceError: Provider is not defined