Class: ViewAdapter

ViewAdapter

An adapter component providing the current page controller's state to the page view component through its properties.


new ViewAdapter(props)

Initializes the adapter component.

Parameters:
Name Type Description
props Object

Component properties, containing the actual page view and the initial page state to pass to the view.

Members


<static> childContextTypes


_view :function

The actual page view to render.

Type:
  • function

state :Object.<string, *>

The current page state as provided by the controller.

Type:
  • Object.<string, *>

Methods


componentWillReceiveProps()


getChildContext()


render()