ViewAdapter 

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

Kind: global class


new ViewAdapter(props) 

Initializes the adapter component.

Param Type Description
props Object Component properties, containing the actual page view and the initial page state to pass to the view.

viewAdapter.state : Object.<string, \*> 

The current page state as provided by the controller.

Kind: instance property of ViewAdapter


viewAdapter._view : function 

The actual page view to render.

Kind: instance property of ViewAdapter


viewAdapter.componentWillReceiveProps() 

Kind: instance method of ViewAdapter


viewAdapter.componentDidCatch() 

Fixes an issue where when there’s an error in React component, the defined ErrorPage may not get re-rendered and white blank page appears instead.

Kind: instance method of ViewAdapter


viewAdapter.render() 

Kind: instance method of ViewAdapter


viewAdapter.getChildContext() 

Kind: instance method of ViewAdapter


ViewAdapter.childContextTypes ⇒ Object 

Kind: static property of ViewAdapter