{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/3979","labels_url":"https://api.github.com/repos/facebook/react/issues/3979/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/3979/comments","events_url":"https://api.github.com/repos/facebook/react/issues/3979/events","html_url":"https://github.com/facebook/react/issues/3979","id":82312511,"number":3979,"title":"Creating tables in React is annoying","user":{"login":"wmertens","id":54934,"avatar_url":"https://avatars.githubusercontent.com/u/54934?v=3","gravatar_id":"","url":"https://api.github.com/users/wmertens","html_url":"https://github.com/wmertens","followers_url":"https://api.github.com/users/wmertens/followers","following_url":"https://api.github.com/users/wmertens/following{/other_user}","gists_url":"https://api.github.com/users/wmertens/gists{/gist_id}","starred_url":"https://api.github.com/users/wmertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmertens/subscriptions","organizations_url":"https://api.github.com/users/wmertens/orgs","repos_url":"https://api.github.com/users/wmertens/repos","events_url":"https://api.github.com/users/wmertens/events{/privacy}","received_events_url":"https://api.github.com/users/wmertens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-29T07:39:23Z","updated_at":"2015-05-29T13:17:55Z","closed_at":null,"body":"Due to the fact that HTML tables can't have children other than table rows, you cannot create parts of a table in a React element.\r\n\r\nHowever, tables are a very useful way to represent tabular data, especially since you can do colspan and rowspan.\r\n\r\nSo in the case of a table comprising of many sections, you have to resort to calling functions instead of elements, meaning you don't get the benefits of props, state and rendering short-circuiting, plus your code looks different and is therefore more error-prone.\r\n\r\nHow can this be improved? Can React support a virtual dom node that doesn't render an actual dom node but can have children?\r\n\r\nAlternatively, are there datagrid components that allow rendering like a table, with colspan and rowspan?"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/106800184","html_url":"https://github.com/facebook/react/issues/3979#issuecomment-106800184","issue_url":"https://api.github.com/repos/facebook/react/issues/3979","id":106800184,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T13:17:55Z","updated_at":"2015-05-29T13:17:55Z","body":"Please see #2127 for a discussion on this."}}