{"action":"opened","issue":{"url":"https://api.github.com/repos/skidding/cosmos/issues/130","labels_url":"https://api.github.com/repos/skidding/cosmos/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/skidding/cosmos/issues/130/comments","events_url":"https://api.github.com/repos/skidding/cosmos/issues/130/events","html_url":"https://github.com/skidding/cosmos/issues/130","id":81316173,"number":130,"title":"Introduce a way to compose components","user":{"login":"w0rm","id":43472,"avatar_url":"https://avatars.githubusercontent.com/u/43472?v=3","gravatar_id":"","url":"https://api.github.com/users/w0rm","html_url":"https://github.com/w0rm","followers_url":"https://api.github.com/users/w0rm/followers","following_url":"https://api.github.com/users/w0rm/following{/other_user}","gists_url":"https://api.github.com/users/w0rm/gists{/gist_id}","starred_url":"https://api.github.com/users/w0rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w0rm/subscriptions","organizations_url":"https://api.github.com/users/w0rm/orgs","repos_url":"https://api.github.com/users/w0rm/repos","events_url":"https://api.github.com/users/w0rm/events{/privacy}","received_events_url":"https://api.github.com/users/w0rm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T07:05:14Z","updated_at":"2015-05-27T07:05:14Z","closed_at":null,"body":"To test some components, e.g. grid, it is necessary to be able to test their composition,\r\nthe code below worked for me for the 1st time, but not after I kicked in the editor. \r\n\r\nI understand that there is a limitation in the current implementation, but are there any plans or ideas of supporting this? \r\n\r\n```javascript\r\nvar React = require('react');\r\nvar Cell = require('../../../components/row/cell.jsx');\r\n\r\nmodule.exports = {\r\n    children: [\r\n        React.createElement(Cell, {\r\n            children: 'Col 1 Text',\r\n            key: 'col1'\r\n        }),\r\n        React.createElement(Cell, {\r\n            children: 'Col 2 Text',\r\n            key: 'col2'\r\n        }),\r\n        React.createElement(Cell, {\r\n            children: 'Col 3 Text',\r\n            key: 'col3'\r\n        })\r\n    ]\r\n};\r\n```"}}