{"version":"1.0","type":"rich","title":"React Container View","description":"This example shows a React container component that manages order data and passes it to a child list component for rendering. The container uses `React.createClass` to define local state initialized with `getInitialState`, then populates that state via `componentDidMount` with `setOrderInfo`, which reads from the component’s props. It defines a `create` method that clones an order object with `Object.assign` and calls `this.model.create`. The `render` method returns a `<ListOrdersComponent>` receiving the model, state, orders, and create handler. A `mapStateToProps` function selects the `orders` slice from a Redux-style state, though no store connection is shown.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2639fc13f9618b133dbc51f15f7e28b4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}